Skip to content

Commit 4299add

Browse files
committed
Merge pull request #2432 from rhyzx/patch-1
fix key modifiers detecting
2 parents 485ca58 + 8a5e715 commit 4299add

File tree

1 file changed

+1
-1
lines changed
  • src/directives/public

1 file changed

+1
-1
lines changed

src/directives/public/on.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default {
112112
// key filter
113113
var keys = Object.keys(this.modifiers)
114114
.filter(function (key) {
115-
return key !== 'stop' && key !== 'prevent'
115+
return key !== 'stop' && key !== 'prevent' && key !== 'self'
116116
})
117117
if (keys.length) {
118118
handler = keyFilter(handler, keys)

0 commit comments

Comments
 (0)