1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 17:24:13 +01:00

Fix missed legacy use of dactyl.open.

This commit is contained in:
Kris Maglione
2010-09-24 16:18:09 -04:00
parent 5bf3784ab2
commit 567ba55483

View File

@@ -149,11 +149,8 @@ const Config = Module("config", ConfigBase, {
commands.add(["pref[erences]", "prefs"],
"Show " + config.host + " preferences",
function (args) {
if (args.bang) { // open Firefox settings GUI dialog
dactyl.open("about:config",
(options["newtab"] && options.get("newtab").has("all", "prefs"))
? dactyl.NEW_TAB : dactyl.CURRENT_TAB);
}
if (args.bang) // open Firefox settings GUI dialog
dactyl.open("about:config", { from: "prefs" });
else
window.openPreferences();
},