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

fix typo - use build_longest_common_substring for :sidebar completion

This commit is contained in:
Doug Kearns
2007-09-18 09:31:42 +00:00
parent 8fd3550be0
commit c2eda435cc

View File

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