1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 18:55:46 +01:00

Make 'strictfocus' a currently undocumented sitemap option.

This commit is contained in:
Kris Maglione
2011-03-12 14:36:07 -05:00
parent 9ba3635bc1
commit b7822c5cb2
5 changed files with 41 additions and 10 deletions

View File

@@ -311,7 +311,10 @@ var Option = Class("Option", {
* @property {function(CompletionContext, Args)} This option's completer.
* @see CompletionContext
*/
completer: function completer(context) {
completer: function completer(context, extra) {
if (/map$/.test(this.type) && extra.value == null)
return;
if (this.values)
context.completions = this.values;
},