summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2017-02-26 21:58:47 +0100
committerPale Moon <git-repo@palemoon.org>2017-02-26 21:58:47 +0100
commit61ce72d7ad1702a784960680e1f4bff16db53a04 (patch)
treeef13642e15c520bca3ecaa3052f81df7cf3b2ab8 /toolkit
parent27ac84f56a2e3d41bbb02e0bb02ce00d83437bbd (diff)
downloadpalemoon-gre-61ce72d7ad1702a784960680e1f4bff16db53a04.tar.gz
Fix buttons on about:support when not building updater.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/content/aboutSupport.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js
index f5fb31c1b..1ae6a4917 100644
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -643,10 +643,12 @@ function safeModeRestart() {
* Set up event listeners for buttons.
*/
function setupEventListeners(){
+#ifdef MOZ_UPDATER
$("show-update-history-button").addEventListener("click", function (event) {
var prompter = Cc["@mozilla.org/updates/update-prompt;1"].createInstance(Ci.nsIUpdatePrompt);
prompter.showUpdateHistory(window);
});
+#endif
$("reset-box-button").addEventListener("click", function (event){
ResetProfile.openConfirmationDialog(window);
});