mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-25 03:44:11 -05:00
Prevent page navigation on dropdown menu links
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="dropdown-menu" role="menu">
|
||||
<div class="dropdown-content">
|
||||
<a href="#" class="dropdown-item" v-for="option in options" :class="{ 'is-active': option.key == value }" @click="$emit('input', option.key)">
|
||||
<a href="#" class="dropdown-item" v-for="option in options" :class="{ 'is-active': option.key == value }" @click.prevent="$emit('input', option.key)">
|
||||
{{ option.name }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user