summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/abouthome
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-16 14:47:03 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-16 14:48:23 +0200
commit931950a880b3550490422b1855c509be10586858 (patch)
tree163b2a63f0ae89ee195c288d6c1e8e4afbb15d86 /application/palemoon/base/content/abouthome
parent4cfe5d84de0b8976f8bc5c005ae12ac3adf8f18a (diff)
downloadUXP-931950a880b3550490422b1855c509be10586858.tar
UXP-931950a880b3550490422b1855c509be10586858.tar.gz
UXP-931950a880b3550490422b1855c509be10586858.tar.lz
UXP-931950a880b3550490422b1855c509be10586858.tar.xz
UXP-931950a880b3550490422b1855c509be10586858.zip
Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
Diffstat (limited to 'application/palemoon/base/content/abouthome')
-rw-r--r--application/palemoon/base/content/abouthome/aboutHome.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/base/content/abouthome/aboutHome.js b/application/palemoon/base/content/abouthome/aboutHome.js
index 9e826b69e..6a970acd6 100644
--- a/application/palemoon/base/content/abouthome/aboutHome.js
+++ b/application/palemoon/base/content/abouthome/aboutHome.js
@@ -234,8 +234,8 @@ const SEARCH_ENGINES = {
};
// This global tracks if the page has been set up before, to prevent double inits
-let gInitialized = false;
-let gObserver = new MutationObserver(function (mutations) {
+var gInitialized = false;
+var gObserver = new MutationObserver(function (mutations) {
for (let mutation of mutations) {
if (mutation.attributeName == "searchEngineURL") {
setupSearchEngine();