1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:52:26 +01:00

fix 'laststatus' validator

This commit is contained in:
Doug Kearns
2008-08-23 02:30:35 +00:00
parent dee53e3b9f
commit fef1c0051e

View File

@@ -1301,7 +1301,7 @@ liberator.StatusLine = function () //{{{
else else
document.getElementById("status-bar").collapsed = false; 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) completer: function (filter)
{ {
return [ return [