Merge pull request #4016 from RedHatter/modifier-fix

Fix listen_dev argument order
pull/4019/head
Rich Harris 5 years ago committed by GitHub
commit d8d0c91243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,8 +54,8 @@ export default class EventHandlerWrapper {
} }
if (block.renderer.options.dev) { if (block.renderer.options.dev) {
args.push(this.node.modifiers.has('stopPropagation') ? TRUE : FALSE);
args.push(this.node.modifiers.has('preventDefault') ? TRUE : FALSE); args.push(this.node.modifiers.has('preventDefault') ? TRUE : FALSE);
args.push(this.node.modifiers.has('stopPropagation') ? TRUE : FALSE);
} }
block.event_listeners.push( block.event_listeners.push(

Loading…
Cancel
Save