1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:48:00 +01:00

revert to using build_longest_starting_substring until an infinite loop bugin

build_longest_common_substring is resolved
This commit is contained in:
Doug Kearns
2007-09-18 11:21:57 +00:00
parent 3bddbc90b9
commit 6cbfc14b28

View File

@@ -469,7 +469,7 @@ vimperator.completion = (function() // {{{
for (var i = 0; i < menu.childNodes.length; i++) for (var i = 0; i < menu.childNodes.length; i++)
nodes.push([[menu.childNodes[i].label], ""]); nodes.push([[menu.childNodes[i].label], ""]);
return build_longest_common_substring(nodes, filter); return build_longest_starting_substring(nodes, filter);
}, //}}} }, //}}}
exTabCompletion: function(str) //{{{ exTabCompletion: function(str) //{{{