aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2021-02-03 06:23:35 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2021-02-03 06:23:35 +0000
commit6f3acb3c1beeaf50675f55afe40911d5fb26f2bf (patch)
treeb78997b9d0cbbf56e0f3126d43f0a7f52947ab96 /src/components/tab_switcher/tab_switcher.js
parent7d4c7e3b3fce5d16849e677703e17ea67da927c8 (diff)
parent982c799b6fde804018656212aea6128a6f0df928 (diff)
Merge branch 'fix-otp-login-kbd' into 'develop'
Fix #1033 as well as other (potential) similar issues Closes #1033 See merge request pleroma/pleroma-fe!1338
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.js')
-rw-r--r--src/components/tab_switcher/tab_switcher.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js
index 76e7ef03..12aac8e6 100644
--- a/src/components/tab_switcher/tab_switcher.js
+++ b/src/components/tab_switcher/tab_switcher.js
@@ -93,7 +93,9 @@ export default Vue.component('tab-switcher', {
<button
disabled={slot.data.attrs.disabled}
onClick={this.clickTab(index)}
- class={classesTab.join(' ')}>
+ class={classesTab.join(' ')}
+ type="button"
+ >
<img src={slot.data.attrs.image} title={slot.data.attrs['image-tooltip']}/>
{slot.data.attrs.label ? '' : slot.data.attrs.label}
</button>