Refine marketplace prompt listing
This commit is contained in:
parent
7c724c00a9
commit
b049b79911
@ -559,6 +559,12 @@
|
||||
clearTimeout(searchTimeout);
|
||||
searchTimeout = setTimeout(loadPrompts, 400);
|
||||
});
|
||||
|
||||
input.addEventListener("keydown", (event) => {
|
||||
if (event.key !== "Enter") return;
|
||||
event.preventDefault();
|
||||
loadPrompts();
|
||||
});
|
||||
}
|
||||
|
||||
const topbarObserver = new MutationObserver(wireMarketplaceTopbarSearch);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user