mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Merge pull request #1283 from halfdan/prevent-drop-event
Prevent default drag/drop action.
This commit is contained in:
commit
47e507b37e
@ -316,6 +316,10 @@
|
||||
$(e.target).closest('section').addClass('active');
|
||||
});
|
||||
|
||||
// Deactivate default drag/drop action
|
||||
$(document).bind('drop dragover', function (e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
},
|
||||
|
||||
events: {
|
||||
|
Loading…
Reference in New Issue
Block a user