summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-16 12:46:20 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-16 12:55:56 +0100
commitb1de755d0f9415a1a11e0531765470de6905dc3c (patch)
tree38598f8b45dabd5b48716be5a04b0ed4547cea17
parentda9d7b43624c7117ab73f7dd8b974bfa70cb05fb (diff)
downloadUXP-b1de755d0f9415a1a11e0531765470de6905dc3c.tar
UXP-b1de755d0f9415a1a11e0531765470de6905dc3c.tar.gz
UXP-b1de755d0f9415a1a11e0531765470de6905dc3c.tar.lz
UXP-b1de755d0f9415a1a11e0531765470de6905dc3c.tar.xz
UXP-b1de755d0f9415a1a11e0531765470de6905dc3c.zip
Stop using hard-coded URL for "get more devtools"
-rw-r--r--devtools/client/menus.js3
1 files changed, 2 insertions, 1 deletions
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");
}
},
];