From 2814613a7634fd2a7fde811c6070e76531f1d4d4 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Mon, 27 Jan 2020 13:37:57 +0100 Subject: [PATCH] [Pale-Moon] Issue MoonchildProductions/UXP#1360 - Fix a dumb mistake. --- application/palemoon/components/nsBrowserGlue.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/palemoon/components/nsBrowserGlue.js b/application/palemoon/components/nsBrowserGlue.js index 854a067aaf..d8bc5be7e7 100644 --- a/application/palemoon/components/nsBrowserGlue.js +++ b/application/palemoon/components/nsBrowserGlue.js @@ -1456,8 +1456,8 @@ BrowserGlue.prototype = { if (currentUIVersion < 22) { if (Services.prefs.prefHasUserValue("layers.acceleration.disabled")) { let HWADisabled = Service.prefs.getBoolPref("layers.acceleration.disabled"); - Services.prefs.setBoolPref("layers.acceleration.enabled") = !HWADisabled; - Services.prefs.setBoolPref("gfx.direct2d.disabled") = HWADisabled; + Services.prefs.setBoolPref("layers.acceleration.enabled", !HWADisabled); + Services.prefs.setBoolPref("gfx.direct2d.disabled", HWADisabled); } if (Services.prefs.getBoolPref("layers.acceleration.force-enabled", false)) { Services.prefs.setBoolPref("layers.acceleration.force", true);