Skip to content

Commit 7b17beb

Browse files
committed
edit source file
1 parent 943fc7c commit 7b17beb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/VueTabs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ export default {
153153
this.renderTabTitle(index, this.textPosition)
154154
}
155155
<a href="#"
156+
onClick={(e) => {
157+
e.preventDefault();
158+
return false;
159+
}}
156160
style={active ? this.activeTabStyle : this.tabStyles(tab)}
157161
class={[{'active_tab': active}, 'tabs__link']}
158162
aria-selected={active}

0 commit comments

Comments
 (0)