diff options
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/src/components/LdTagInput.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue index 34d96bd..ad0845e 100644 --- a/viewer/src/components/LdTagInput.vue +++ b/viewer/src/components/LdTagInput.vue | |||
@@ -63,8 +63,7 @@ export default class LdTagInput extends Vue { | |||
63 | // Prevents the keyboard from opening on mobile when removing a tag | 63 | // Prevents the keyboard from opening on mobile when removing a tag |
64 | onClick(e: MouseEvent) { | 64 | onClick(e: MouseEvent) { |
65 | const target = e.target; | 65 | const target = e.target; |
66 | if (target instanceof HTMLAnchorElement) | 66 | if (target instanceof HTMLAnchorElement) target.addEventListener("click", e => e.stopPropagation(), true); |
67 | target.addEventListener("click", e => e.stopPropagation()); | ||
68 | } | 67 | } |
69 | } | 68 | } |
70 | </script> | 69 | </script> |