summaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-16 12:46:20 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-16 12:46:20 +0100
commit54f9a14d030793d9380e0af6d8a77e17e1e1e8f5 (patch)
tree81dfa6ce66eb25bb7798a3ecbaa9bd4a0a8f784e /devtools
parent2625ea4425ebe56a871ac59c9b5e9ceef96af439 (diff)
downloadUXP-54f9a14d030793d9380e0af6d8a77e17e1e1e8f5.tar
UXP-54f9a14d030793d9380e0af6d8a77e17e1e1e8f5.tar.gz
UXP-54f9a14d030793d9380e0af6d8a77e17e1e1e8f5.tar.lz
UXP-54f9a14d030793d9380e0af6d8a77e17e1e1e8f5.tar.xz
UXP-54f9a14d030793d9380e0af6d8a77e17e1e1e8f5.zip
Stop using hard-coded URL for "get more devtools"
Diffstat (limited to '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");
}
},
];