1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 06:44:12 +01:00

WIP on master: d52fcb4 Fix bookmarks.isBookmarked so we don't get spurious hearts in the status line.

This commit is contained in:
Kris Maglione
2009-09-22 12:22:59 -04:00
2 changed files with 2 additions and 11 deletions

View File

@@ -251,16 +251,7 @@ Option.prototype = {
return null;
if (this.setter)
{
let tmpValue = newValue;
newValue = this.setter.call(this, newValue);
if (newValue === undefined)
{
newValue = tmpValue;
liberator.log("DEPRECATED: '" + this.name + "' setter should return a value");
}
}
newValue = this.setter(newValue);
if (liberator.has("tabs") && (scope & options.OPTION_SCOPE_LOCAL))
tabs.options[this.name] = newValue;