Skip to content

Commit

Permalink
Ensure editablePaste always gets consistent data when called
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed May 26, 2016
1 parent 9989601 commit 8bd8f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
},

handlePaste: function (event) {
this.triggerCustomEvent('editablePaste', event, event.currentTarget);
this.triggerCustomEvent('editablePaste', { currentTarget: event.currentTarget, target: event.target }, event.currentTarget);
},

handleKeydown: function (event) {
Expand Down

0 comments on commit 8bd8f8f

Please sign in to comment.