mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-26 00:57:30 +09:00
Stop using hard-coded URL for "get more devtools"
This commit is contained in:
parent
1e740c4c65
commit
c9b76fb369
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ exports.menuitems = [
|
||||||
l10nKey: "getMoreDevtoolsCmd",
|
l10nKey: "getMoreDevtoolsCmd",
|
||||||
oncommand(event) {
|
oncommand(event) {
|
||||||
let window = event.target.ownerDocument.defaultView;
|
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");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue