0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #1283 from halfdan/prevent-drop-event

Prevent default drag/drop action.
This commit is contained in:
Hannah Wolfe 2013-10-26 08:34:07 -07:00
commit 47e507b37e

View file

@ -316,6 +316,10 @@
$(e.target).closest('section').addClass('active');
});
// Deactivate default drag/drop action
$(document).bind('drop dragover', function (e) {
e.preventDefault();
});
},
events: {