mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
fix 'laststatus' validator
This commit is contained in:
@@ -1301,7 +1301,7 @@ liberator.StatusLine = function () //{{{
|
||||
else
|
||||
document.getElementById("status-bar").collapsed = false;
|
||||
},
|
||||
validator: function (value) { return (value in [0, 1, 2]); },
|
||||
validator: function (value) { return (value >= 0 && value <= 2); },
|
||||
completer: function (filter)
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user