From 47a01c3ff66e5a1afcfd535867add7d0cf231389 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 15 Oct 2010 10:41:07 +1100 Subject: [PATCH] options.setPref -> prefs.set --HG-- extra : rebase_source : e6d7710ed3f269934ce4c517e97ad93c6c2f5840 --- melodactyl/content/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melodactyl/content/config.js b/melodactyl/content/config.js index 64925ad2..15a6fab6 100644 --- a/melodactyl/content/config.js +++ b/melodactyl/content/config.js @@ -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