summaryrefslogtreecommitdiffstats
path: root/browser/base/content/utilityOverlay.js
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 08:17:44 -0500
commit5909cef47a4aaf458e41e0d2a46b88972b934dff (patch)
treebb29a2fa48196df4ba33af890be6535c46ef3b2e /browser/base/content/utilityOverlay.js
parent2f359ed80ccb2cab440c0cda886404ed42ad9fdf (diff)
downloadUXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.gz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.lz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.tar.xz
UXP-5909cef47a4aaf458e41e0d2a46b88972b934dff.zip
Make safebrowsing optional at build time - Part 1: browser/
Diffstat (limited to 'browser/base/content/utilityOverlay.js')
-rw-r--r--browser/base/content/utilityOverlay.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/browser/base/content/utilityOverlay.js b/browser/base/content/utilityOverlay.js
index b041915a7..4ea6d8f90 100644
--- a/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
@@ -819,9 +819,8 @@ function openTourPage()
function buildHelpMenu()
{
// Enable/disable the "Report Web Forgery" menu item.
- if (typeof gSafeBrowsing != "undefined") {
+ if (typeof gSafeBrowsing != "undefined")
gSafeBrowsing.setReportPhishingMenu();
- }
}
function isElementVisible(aElement)