We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5281ca commit 46aea24Copy full SHA for 46aea24
src/directives/link.js
@@ -52,7 +52,8 @@ export default function (Vue) {
52
return
53
}
54
// handle click
55
- this.el.addEventListener('click', bind(this.onClick, this))
+ this.handler = bind(this.onClick, this)
56
+ this.el.addEventListener('click', this.handler)
57
},
58
59
update (target) {
0 commit comments