summaryrefslogtreecommitdiff
path: root/application/palemoon/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-27 20:18:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-27 20:18:48 +0200
commitc3fc250b0ccc71542d7838ff7395350992b65afa (patch)
tree280bbaf00fbc1d4078172ae871ac5a4f954b2cf2 /application/palemoon/modules
parent7840c750dbfd3f1b2ab3b4f0db561cafdc7dcfe2 (diff)
downloaduxp-c3fc250b0ccc71542d7838ff7395350992b65afa.tar.gz
Make Pale Moon Windows8WindowFrameColor compatible with global scope.
This resolves #396.
Diffstat (limited to 'application/palemoon/modules')
-rw-r--r--application/palemoon/modules/Windows8WindowFrameColor.jsm6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/palemoon/modules/Windows8WindowFrameColor.jsm b/application/palemoon/modules/Windows8WindowFrameColor.jsm
index d424da499a..e7a447db20 100644
--- a/application/palemoon/modules/Windows8WindowFrameColor.jsm
+++ b/application/palemoon/modules/Windows8WindowFrameColor.jsm
@@ -11,15 +11,15 @@ Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/WindowsRegistry.jsm");
-const Windows8WindowFrameColor = {
+var Windows8WindowFrameColor = {
_windowFrameColor: null,
get_win8: function() {
if (this._windowFrameColor)
return this._windowFrameColor;
- let HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER;
- let dwmKey = "Software\\Microsoft\\Windows\\DWM";
+ const HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER;
+ const dwmKey = "Software\\Microsoft\\Windows\\DWM";
// Window frame base color component values when Color Intensity is at 0.
let frameBaseColor = 217;