mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 23:42:27 +01:00
Fix cryptic error message with certain :set args.
--HG-- extra : rebase_source : f555e2cb98bea80fd1090cae6199371f0ca997ed
This commit is contained in:
@@ -30,6 +30,8 @@ update(Bookmark.prototype, {
|
||||
})
|
||||
Bookmark.setter = function (key, func) this.prototype.__defineSetter__(key, func);
|
||||
Bookmark.setter("url", function (val) {
|
||||
if (isString(val))
|
||||
val = util.newURI(val);
|
||||
let tags = this.tags;
|
||||
this.tags = null;
|
||||
services.bookmarks.changeBookmarkURI(this.id, val);
|
||||
|
||||
Reference in New Issue
Block a user