mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-11 00:44:11 +01:00
options.setPref -> prefs.set
--HG-- extra : rebase_source : e6d7710ed3f269934ce4c517e97ad93c6c2f5840
This commit is contained in:
@@ -282,7 +282,7 @@ const Config = Module("config", ConfigBase, {
|
||||
setter: function (value) {
|
||||
const ioService = services.get("io");
|
||||
ioService.offline = !value;
|
||||
options.setPref("browser.offline", ioService.offline);
|
||||
prefs.set("browser.offline", ioService.offline);
|
||||
return value;
|
||||
},
|
||||
getter: function () !services.get("io").offline
|
||||
|
||||
Reference in New Issue
Block a user