We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9423df5 commit 95dd55aCopy full SHA for 95dd55a
client/views/commands/palette.js
@@ -15,7 +15,7 @@ templateFile, commandTemplateFile) {
15
var CommandsWithQuery = Commands.extend({
16
// Sort comparator
17
comparator: function(command) {
18
- if (!this.query) return CommandsWithQuery.__super__.initialize.apply(this, arguments);
+ if (!this.query) return CommandsWithQuery.__super__.comparator.apply(this, arguments);
19
20
return -command.textScore(this.query);
21
}
0 commit comments