summaryrefslogtreecommitdiffstats
path: root/browser/base/content/tab-content.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-06 14:07:27 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-06 14:07:27 +0200
commit3a17b713ef27abb8c9d7c116815d3af7e0f366d9 (patch)
treed7ad0ed28978271e3af34731ab187415fda62ec3 /browser/base/content/tab-content.js
parentd960419686462067cb5745dcd1ad264abe0b1485 (diff)
downloadUXP-3a17b713ef27abb8c9d7c116815d3af7e0f366d9.tar
UXP-3a17b713ef27abb8c9d7c116815d3af7e0f366d9.tar.gz
UXP-3a17b713ef27abb8c9d7c116815d3af7e0f366d9.tar.lz
UXP-3a17b713ef27abb8c9d7c116815d3af7e0f366d9.tar.xz
UXP-3a17b713ef27abb8c9d7c116815d3af7e0f366d9.zip
Remove about:home snippets.
Diffstat (limited to 'browser/base/content/tab-content.js')
-rw-r--r--browser/base/content/tab-content.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/browser/base/content/tab-content.js b/browser/base/content/tab-content.js
index 05f8e00ab..7e803796a 100644
--- a/browser/base/content/tab-content.js
+++ b/browser/base/content/tab-content.js
@@ -147,13 +147,10 @@ var AboutHomeListener = {
if (aData.showRestoreLastSession && !PrivateBrowsingUtils.isContentWindowPrivate(content))
doc.getElementById("launcher").setAttribute("session", "true");
- // Inject search engine and snippets URL.
+ // Inject search engine URL.
let docElt = doc.documentElement;
- // Set snippetsVersion last, which triggers to show the snippets when it's set.
- docElt.setAttribute("snippetsURL", aData.snippetsURL);
if (aData.showKnowYourRights)
docElt.setAttribute("showKnowYourRights", "true");
- docElt.setAttribute("snippetsVersion", aData.snippetsVersion);
},
onPageLoad: function() {