aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2021-03-01 18:15:46 +0000
committerShpuld Shpludson <shp@cock.li>2021-03-01 18:15:46 +0000
commitc3fcbbd918ddef4e3f574a464fd10f4899bb2dce (patch)
tree695ccbd352c82cb0f08fc78ff85bf23888561a8e /src/components/tab_switcher/tab_switcher.js
parent320418d524a33c20d7d769c8d67a25be81f251ec (diff)
parent0ac34b3014a1499ef5f3de7d3c321119dd10ab26 (diff)
Merge branch 'rc/2.3.0' into 'master'
2.3.0 to MASTER See merge request pleroma/pleroma-fe!1366
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>