Merge pull request #184 from amnezia-vpn/bugfix/fake-web-site-label-wizard
bugfix/fake-web-site-label-wizard
This commit is contained in:
commit
e097a49186
1 changed files with 3 additions and 3 deletions
|
|
@ -54,12 +54,12 @@ You SHOULD set this website address to some foreign website which is not blocked
|
||||||
text: WizardLogic.lineEditHighWebsiteMaskingText
|
text: WizardLogic.lineEditHighWebsiteMaskingText
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
let _text = website_masking.text
|
let _text = website_masking.text
|
||||||
_text.replace("http://", "");
|
_text = _text.replace("http://", "");
|
||||||
_text.replace("https://", "");
|
_text = _text.replace("https://", "");
|
||||||
if (!_text) {
|
if (!_text) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_text = _text.split("/").first();
|
_text = _text.split("/")[0];
|
||||||
WizardLogic.lineEditHighWebsiteMaskingText = _text
|
WizardLogic.lineEditHighWebsiteMaskingText = _text
|
||||||
}
|
}
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue