Skip to content

Commit 95dd55a

Browse files
committed
Fix order of commands in command palette
1 parent 9423df5 commit 95dd55a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/views/commands/palette.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ templateFile, commandTemplateFile) {
1515
var CommandsWithQuery = Commands.extend({
1616
// Sort comparator
1717
comparator: function(command) {
18-
if (!this.query) return CommandsWithQuery.__super__.initialize.apply(this, arguments);
18+
if (!this.query) return CommandsWithQuery.__super__.comparator.apply(this, arguments);
1919

2020
return -command.textScore(this.query);
2121
}

0 commit comments

Comments
 (0)