1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 08:22:27 +01:00

Purge unnecessary uses of args.string.

This commit is contained in:
Kris Maglione
2010-09-25 02:45:19 -04:00
parent d1ecfe8041
commit e6c716d1e3
10 changed files with 39 additions and 34 deletions

View File

@@ -171,10 +171,8 @@ const Browser = Module("browser", {
commands.add(["o[pen]"],
"Open one or more URLs in the current tab",
function (args) {
args = args.string;
if (args)
dactyl.open(args);
if (args[0])
dactyl.open(args[0]);
else
dactyl.open("about:blank");
}, {