diff options
| author | Henry Jameson <me@hjkos.com> | 2021-02-01 21:07:09 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-02-01 21:07:09 +0200 |
| commit | 982c799b6fde804018656212aea6128a6f0df928 (patch) | |
| tree | 3c829339bbb2dc9b4f4baccb4084dc77ecb4936b /src/components/search_bar | |
| parent | de66267a07eb018cc0309ff6f9dd896d53ba3ff4 (diff) | |
fix a bunch of <button>s acting as submit buttons breaking enter key
Diffstat (limited to 'src/components/search_bar')
| -rw-r--r-- | src/components/search_bar/search_bar.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue index 6cf9179e..a7432dcb 100644 --- a/src/components/search_bar/search_bar.vue +++ b/src/components/search_bar/search_bar.vue @@ -8,6 +8,7 @@ class="button-unstyled nav-icon" :title="$t('nav.search')" @click.prevent.stop="toggleHidden" + type="button" > <FAIcon fixed-width @@ -28,6 +29,7 @@ <button class="button-default search-button" @click="find(searchTerm)" + type="submit" > <FAIcon fixed-width @@ -37,6 +39,7 @@ <button class="button-unstyled cancel-search" @click.prevent.stop="toggleHidden" + type="button" > <FAIcon fixed-width |
