Synchronize Sites.onionSecure on any settings update.

This commit is contained in:
hackademix 2024-10-29 18:05:28 +01:00
parent 9646c43a0d
commit 1519a63254
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ var Settings = {
ns.defaults.local.isTorBrowser = true; ns.defaults.local.isTorBrowser = true;
ns.defaults.local.torBrowserPolicy = ns.local.torBrowserPolicy; ns.defaults.local.torBrowserPolicy = ns.local.torBrowserPolicy;
ns.defaults.sync.cascadeRestrictions = true; ns.defaults.sync.cascadeRestrictions = true;
Sites.onionSecure = true;
} }
if (settings.sync === null) { if (settings.sync === null) {