- {#if onClick}
-
+ {#if onRemove}
+
{/if}
diff --git a/src/partials/MultiSelect.svelte b/src/partials/MultiSelect.svelte
index 3c5957e1..cdda6979 100644
--- a/src/partials/MultiSelect.svelte
+++ b/src/partials/MultiSelect.svelte
@@ -72,7 +72,7 @@
{#each value as item}
- remove(item)}>
+ remove(item)}>
{item}
diff --git a/src/util/html.ts b/src/util/html.ts
index f5d4c1fa..c7238122 100644
--- a/src/util/html.ts
+++ b/src/util/html.ts
@@ -85,12 +85,6 @@ export const escapeHtml = html => {
return div.innerHTML
}
-export const killEvent = e => {
- e.preventDefault()
- e.stopPropagation()
- e.stopImmediatePropagation()
-}
-
export const isMobile =
localStorage.mobile || window.navigator.maxTouchPoints > 1 || window.innerWidth < 400