mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
fix: open newtab when using middle mouse button in tag overview
This commit is contained in:
parent
f1161aed59
commit
0e48fb7809
@ -129,6 +129,7 @@
|
||||
)
|
||||
v-card.radius-7(
|
||||
@click='goTo(item)'
|
||||
@mousedown.middle='goToNewTab(item)'
|
||||
style='height:100%;'
|
||||
:class='$vuetify.theme.dark ? `grey darken-4` : ``'
|
||||
)
|
||||
@ -295,6 +296,9 @@ export default {
|
||||
},
|
||||
goTo (page) {
|
||||
window.location.assign(`/${page.locale}/${page.path}`)
|
||||
},
|
||||
goToNewTab (page) {
|
||||
window.open(`/${page.locale}/${page.path}`)
|
||||
}
|
||||
},
|
||||
apollo: {
|
||||
|
Loading…
Reference in New Issue
Block a user