From 6ade3be5b40816f8765e657442aa2945e51ce7d4 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Sun, 27 Oct 2019 19:20:38 +0200
Subject: fix loadEmojiInsane button submitting the form

---
 src/components/emoji_picker/emoji_picker.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/emoji_picker/emoji_picker.vue')

diff --git a/src/components/emoji_picker/emoji_picker.vue b/src/components/emoji_picker/emoji_picker.vue
index 56501467..e46a5ec1 100644
--- a/src/components/emoji_picker/emoji_picker.vue
+++ b/src/components/emoji_picker/emoji_picker.vue
@@ -101,7 +101,7 @@
           </div>
           <button
             class="btn btn-default"
-            @click="loadEmojiInsane"
+            @click.prevent="loadEmojiInsane"
           >
             {{ $t('emoji.load_all', { emojiAmount: filteredEmoji.length } ) }}
           </button>
-- 
cgit v1.2.3-70-g09d2

