mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Prevent default drag/drop action.
This commit is contained in:
parent
40c1271c08
commit
95cbbcf07e
@ -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