summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.js
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-06-29 11:26:21 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-06-29 11:26:21 -0400
commit01af8598698507ce11c3382ed71d2889da0e8c13 (patch)
tree0801fbc84688cf022aff46c6392ae0bd53699b71 /application/palemoon/base/content/browser.js
parent01e1fcf522219bf1b2d7d2dcc6209db3d270a182 (diff)
downloadUXP-01af8598698507ce11c3382ed71d2889da0e8c13.tar
UXP-01af8598698507ce11c3382ed71d2889da0e8c13.tar.gz
UXP-01af8598698507ce11c3382ed71d2889da0e8c13.tar.lz
UXP-01af8598698507ce11c3382ed71d2889da0e8c13.tar.xz
UXP-01af8598698507ce11c3382ed71d2889da0e8c13.zip
[Pale Moon] Add a configure flag to functionally disable personas at build time
Diffstat (limited to 'application/palemoon/base/content/browser.js')
-rw-r--r--application/palemoon/base/content/browser.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js
index 16b7c0019..a5d77a90d 100644
--- a/application/palemoon/base/content/browser.js
+++ b/application/palemoon/base/content/browser.js
@@ -1216,9 +1216,11 @@ var gBrowserInit = {
placesContext.addEventListener("popuphiding", updateEditUIVisibility, false);
#endif
+#ifdef MOZ_PERSONAS
gBrowser.mPanelContainer.addEventListener("InstallBrowserTheme", LightWeightThemeWebInstaller, false, true);
gBrowser.mPanelContainer.addEventListener("PreviewBrowserTheme", LightWeightThemeWebInstaller, false, true);
gBrowser.mPanelContainer.addEventListener("ResetBrowserThemePreview", LightWeightThemeWebInstaller, false, true);
+#endif
// Bug 666808 - AeroPeek support for e10s
if (!gMultiProcessBrowser) {