1
0
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:
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

@@ -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" },