0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Remove dragover/drop from custom events list.

Fixes #183
This commit is contained in:
Neil Jenkins 2016-05-05 12:22:56 +10:00
parent 6c4f8e1aaf
commit 1f4baefda4
3 changed files with 3 additions and 5 deletions

View file

@ -2435,8 +2435,7 @@ proto.modifyDocument = function ( modificationCallback ) {
// document node, since these events are fired in a custom manner by the
// editor code.
var customEvents = {
pathChange: 1, select: 1, input: 1, undoStateChange: 1,
dragover: 1, drop: 1
pathChange: 1, select: 1, input: 1, undoStateChange: 1
};
proto.fireEvent = function ( type, event ) {

File diff suppressed because one or more lines are too long

View file

@ -221,8 +221,7 @@ proto.modifyDocument = function ( modificationCallback ) {
// document node, since these events are fired in a custom manner by the
// editor code.
var customEvents = {
pathChange: 1, select: 1, input: 1, undoStateChange: 1,
dragover: 1, drop: 1
pathChange: 1, select: 1, input: 1, undoStateChange: 1
};
proto.fireEvent = function ( type, event ) {