From 54f9a14d030793d9380e0af6d8a77e17e1e1e8f5 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 16 Feb 2019 12:46:20 +0100 Subject: Stop using hard-coded URL for "get more devtools" --- devtools/client/menus.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/client/menus.js b/devtools/client/menus.js index 1d2168967..dbacb367d 100644 --- a/devtools/client/menus.js +++ b/devtools/client/menus.js @@ -189,7 +189,8 @@ exports.menuitems = [ l10nKey: "getMoreDevtoolsCmd", oncommand(event) { let window = event.target.ownerDocument.defaultView; - window.openUILinkIn("https://addons.mozilla.org/firefox/collections/mozilla/webdeveloper/", "tab"); + let getMoreURL = Services.prefs.getCharPref("browser.getdevtools.url"); + window.openUILinkIn(getMoreURL, "tab"); } }, ]; -- cgit v1.2.3