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 f260c40 commit 3babe21Copy full SHA for 3babe21
static/js/commands-filters.js
@@ -43,6 +43,21 @@ const FILTERS = {
43
}
44
};
45
46
+nameFilter = FILTERS.name.element
47
+nameFilter.addEventListener('keydown', function (event) {
48
+ switch (event.key) {
49
+ case "Enter":
50
+ visibleCommands = document.querySelectorAll("article.flex.flex-col.gap-2.transition.relative:not([style='display: none;'])")
51
+ if (visibleCommands.length == 1) {
52
+ event.preventDefault();
53
+ commandHref = visibleCommands[0].getElementsByTagName("a")[0].href
54
+ window.location.assign(commandHref)
55
+ };
56
+ default:
57
+ return;
58
+ }
59
+});
60
+
61
const hiddenCards = [];
62
63
function setDisabledVersions(value) {
0 commit comments