mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 11:45:45 +01:00
Many small bugfixes
changed wildsort -> wildoptions=sort added completion for filenames
This commit is contained in:
@@ -578,7 +578,7 @@ function onCommandBarKeypress(evt)/*{{{*/
|
||||
{
|
||||
g_completions = command[COMPLETEFUNC].call(this, args);
|
||||
// Sort the completion list
|
||||
if (get_pref('wildsort'))
|
||||
if (get_pref('wildoptions').match(/\bsort\b/))
|
||||
{
|
||||
g_completions.sort(function(a, b) {
|
||||
if (a[0] < b[0])
|
||||
|
||||
Reference in New Issue
Block a user