summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-08-10 12:24:13 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-08-10 12:24:13 +0200
commit2c17aaec1f152a288a7003c0b5578dee1d6a89d8 (patch)
tree37de9ce9700a70f35ee299a6945ad57dbb4b2724 /application/palemoon
parentb5b29931034caa2aae356854f13bb744def1cd13 (diff)
downloadUXP-2c17aaec1f152a288a7003c0b5578dee1d6a89d8.tar
UXP-2c17aaec1f152a288a7003c0b5578dee1d6a89d8.tar.gz
UXP-2c17aaec1f152a288a7003c0b5578dee1d6a89d8.tar.lz
UXP-2c17aaec1f152a288a7003c0b5578dee1d6a89d8.tar.xz
UXP-2c17aaec1f152a288a7003c0b5578dee1d6a89d8.zip
Remove some leftover snippets code.
follow-up to 3a17b713ef27abb8c9d7c116815d3af7e0f366d9
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/base/content/browser.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index a5d77a90d..7615bc92a 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -2445,16 +2445,12 @@ function BrowserOnAboutPageLoad(doc) {
// Inject search engine and snippets URL.
let docElt = doc.documentElement;
- // set the following attributes BEFORE searchEngineURL, which triggers to
- // show the snippets when it's set.
- docElt.setAttribute("snippetsURL", AboutHomeUtils.snippetsURL);
if (AboutHomeUtils.showKnowYourRights) {
docElt.setAttribute("showKnowYourRights", "true");
// Set pref to indicate we've shown the notification.
let currentVersion = Services.prefs.getIntPref("browser.rights.version");
Services.prefs.setBoolPref("browser.rights." + currentVersion + ".shown", true);
}
- docElt.setAttribute("snippetsVersion", AboutHomeUtils.snippetsVersion);
function updateSearchEngine() {
let engine = AboutHomeUtils.defaultSearchEngine;