mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 15:55:47 +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) {
|
setter: function (value) {
|
||||||
const ioService = services.get("io");
|
const ioService = services.get("io");
|
||||||
ioService.offline = !value;
|
ioService.offline = !value;
|
||||||
options.setPref("browser.offline", ioService.offline);
|
prefs.set("browser.offline", ioService.offline);
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
getter: function () !services.get("io").offline
|
getter: function () !services.get("io").offline
|
||||||
|
|||||||
Reference in New Issue
Block a user