mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-07 18:25:44 +01:00
Purge unnecessary uses of args.string.
This commit is contained in:
@@ -382,7 +382,7 @@ const Bookmarks = Module("bookmarks", {
|
||||
}
|
||||
});
|
||||
else {
|
||||
let url = args.string || buffer.URL;
|
||||
let url = args[0] || buffer.URL;
|
||||
let deletedCount = bookmarks.remove(url);
|
||||
|
||||
dactyl.echomsg({ domains: [util.getHost(url)], message: deletedCount + " bookmark(s) with url " + url.quote() + " deleted" },
|
||||
|
||||
Reference in New Issue
Block a user