diff --git a/ts/editor/AddTagBadge.svelte b/ts/editor/AddTagBadge.svelte index 66bb992da..48f84166a 100644 --- a/ts/editor/AddTagBadge.svelte +++ b/ts/editor/AddTagBadge.svelte @@ -16,23 +16,30 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - (theTagIcon = addTagIcon)} - on:mouseleave={() => (theTagIcon = tagIcon)} - on:mount={withSpan(createShortcut)}>{@html theTagIcon} +
+ (theTagIcon = addTagIcon)} + on:mouseleave={() => (theTagIcon = tagIcon)} + on:mount={withSpan(createShortcut)}>{@html theTagIcon} +
diff --git a/ts/editor/TagAutocomplete.svelte b/ts/editor/TagAutocomplete.svelte index 514380d0c..6a541061a 100644 --- a/ts/editor/TagAutocomplete.svelte +++ b/ts/editor/TagAutocomplete.svelte @@ -8,8 +8,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html export const suggestions = ["en::idioms", "anki::functionality", "math"]; - const triggerId = "tagLabel" + String(Math.random()).slice(2); - const triggerClass = "dropdown-toggle"; + let className: string = ""; + export { className as class }; let menu: HTMLDivElement; @@ -33,10 +33,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html function updateActiveItem(even: FocusEvent): void {} -