diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-03-26 11:01:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 11:01:15 +0100 |
commit | 55d249557f6002ffab38eaeb4fd650a5189ccde7 (patch) | |
tree | 9175f4663414be020075b0a4361476890aeb8070 /application/palemoon/components/preferences/preferences.xul | |
parent | aa816b3d848d38c83204c3dd1a1d0b86013978b4 (diff) | |
parent | d72bcc92f52ce476184003a78b36ee40d2c1c875 (diff) | |
download | UXP-55d249557f6002ffab38eaeb4fd650a5189ccde7.tar UXP-55d249557f6002ffab38eaeb4fd650a5189ccde7.tar.gz UXP-55d249557f6002ffab38eaeb4fd650a5189ccde7.tar.lz UXP-55d249557f6002ffab38eaeb4fd650a5189ccde7.tar.xz UXP-55d249557f6002ffab38eaeb4fd650a5189ccde7.zip |
Merge pull request #1027 from JustOff/PR_newtab_choice
Prevent mistaken overwriting of browser.newtab.url when using the browser preferences dialog
Diffstat (limited to 'application/palemoon/components/preferences/preferences.xul')
-rw-r--r-- | application/palemoon/components/preferences/preferences.xul | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/preferences.xul b/application/palemoon/components/preferences/preferences.xul index 2b7fd9ded..a1d9c8cf7 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"/> |