summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2019-03-26 01:28:36 +0200
committerJustOff <Off.Just.Off@gmail.com>2019-03-26 01:28:36 +0200
commitd72bcc92f52ce476184003a78b36ee40d2c1c875 (patch)
tree9175f4663414be020075b0a4361476890aeb8070
parenta15e49e4269f34afaa1f37092332e134d9b9b711 (diff)
downloaduxp-d72bcc92f52ce476184003a78b36ee40d2c1c875.tar.gz
Revert "Only write the newtab URL if the machinery for it had previously been"
This reverts commit eb77e289bbe056b58051db0fa868e95da803aa0a.
-rw-r--r--application/palemoon/components/preferences/preferences.xul2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/preferences.xul b/application/palemoon/components/preferences/preferences.xul
index 2b7fd9ded5..a1d9c8cf72 100644
--- a/application/palemoon/components/preferences/preferences.xul
+++ b/application/palemoon/components/preferences/preferences.xul
@@ -56,7 +56,7 @@
#endif
#endif
onunload="if (typeof gSecurityPane != 'undefined') gSecurityPane.syncAddonSecurityLevel();"
- ondialogaccept="if (typeof gTabsPane != 'undefined') gNewtabUrl.writeNewtabUrl();">
+ ondialogaccept="gNewtabUrl.writeNewtabUrl();">
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
<script type="application/javascript" src="chrome://browser/content/preferences/newtaburl.js"/>