saved_snippets: Add new feature for saved snippets.

Fixes #31227.
This commit is contained in:
Vector73
2024-09-28 03:04:31 +05:30
committed by Tim Abbott
parent 8301dcd421
commit 66113365a5
19 changed files with 470 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ export class DropdownWidget {
`${this.widget_selector}, ${this.widget_wrapper_id}`,
(e) => {
if (e.key === "Enter") {
$(this.widget_selector).trigger("click");
$(this.widget_selector)[0]?.click();
e.stopPropagation();
e.preventDefault();
}