summaryrefslogtreecommitdiffstats
path: root/application
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
parent7840c750dbfd3f1b2ab3b4f0db561cafdc7dcfe2 (diff)
downloadUXP-c3fc250b0ccc71542d7838ff7395350992b65afa.tar
UXP-c3fc250b0ccc71542d7838ff7395350992b65afa.tar.gz
UXP-c3fc250b0ccc71542d7838ff7395350992b65afa.tar.lz
UXP-c3fc250b0ccc71542d7838ff7395350992b65afa.tar.xz
UXP-c3fc250b0ccc71542d7838ff7395350992b65afa.zip
Make Pale Moon Windows8WindowFrameColor compatible with global scope.
This resolves #396.
Diffstat (limited to 'application')
-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 d424da499..e7a447db2 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;