We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c710b57 commit 1c706b6Copy full SHA for 1c706b6
out/command-table.js
@@ -6,7 +6,14 @@ function searchCommands() {
6
let commandName = command.children[0].textContent.toLowerCase();
7
let commandType = command.children[1].textContent.toLowerCase();
8
let commandDescription = command.children[2].textContent.toLowerCase();
9
+ let match = false;
10
if (commandName.includes(query) || commandType.includes(query) || commandDescription.includes(query)) {
11
+ match = true;
12
+ }
13
+ if (commandName.endsWith('*') && query.startsWith(commandName.slice(0, -1))) {
14
15
16
+ if (match) {
17
anyMatch = true;
18
command.classList.remove('hidden');
19
} else {
0 commit comments