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: {