1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

added option value completion; small typos.

This commit is contained in:
Tim Hammerquist
2008-06-19 22:34:45 +00:00
parent 600ff1cce9
commit c55d7b51d0
5 changed files with 51 additions and 7 deletions

View File

@@ -126,7 +126,15 @@ liberator.Tabs = function () //{{{
tabs.collapsed = false;
}
},
validator: function (value) { return (value >= 0 && value <= 2); }
validator: function (value) { return (value >= 0 && value <= 2); },
completer: function (filter)
{
return [
["0", "Never show tab bar"],
["1", "Show tab bar only if more than one tab is open"],
["2", "Always show tab bar"],
];
},
});