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:
@@ -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");
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user