Skip to content

Commit

Permalink
fix(VCard): remove default click handler
Browse files Browse the repository at this point in the history
fixes #14447
  • Loading branch information
KaelWD committed Nov 30, 2021
1 parent 33385d5 commit 6d1c0f6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/vuetify/src/mixins/routable/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ export default Vue.extend({
},

methods: {
click (e: MouseEvent): void {
this.$emit('click', e)
},
generateRouteLink () {
let exact = this.exact
let tag
Expand All @@ -100,7 +97,7 @@ export default Vue.extend({
}],
[this.to ? 'nativeOn' : 'on']: {
...this.$listeners,
click: this.click,
...('click' in this ? { click: (this as any).click } : undefined), // #14447
},
ref: 'link',
}
Expand Down

0 comments on commit 6d1c0f6

Please sign in to comment.