mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-27 01:15:47 +01:00
Fix missed legacy use of dactyl.open.
This commit is contained in:
@@ -149,11 +149,8 @@ const Config = Module("config", ConfigBase, {
|
|||||||
commands.add(["pref[erences]", "prefs"],
|
commands.add(["pref[erences]", "prefs"],
|
||||||
"Show " + config.host + " preferences",
|
"Show " + config.host + " preferences",
|
||||||
function (args) {
|
function (args) {
|
||||||
if (args.bang) { // open Firefox settings GUI dialog
|
if (args.bang) // open Firefox settings GUI dialog
|
||||||
dactyl.open("about:config",
|
dactyl.open("about:config", { from: "prefs" });
|
||||||
(options["newtab"] && options.get("newtab").has("all", "prefs"))
|
|
||||||
? dactyl.NEW_TAB : dactyl.CURRENT_TAB);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
window.openPreferences();
|
window.openPreferences();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user