Skip to content
Browse files

Changed drag enter code to stop propigation

  • Loading branch information...
1 parent ddef872 commit 9e17e7c5394fa873a68be596c11c68bfad6865ca @mikevalstar committed Feb 8, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 htdocs/js/admin.js
View
3 htdocs/js/admin.js
@@ -32,7 +32,8 @@ MV.admin.imageList.prototype = {
e.preventDefault();
$(this).html('Drop Here');
}).on( 'dragover', function(e) {
- // do nothing.. fixes chrome bug
+ // allows drop;
+ e.stopPropagation();
}).on( 'dragleave', function(e) {
e.preventDefault();
$(this).html('Drag a file here to upload');

0 comments on commit 9e17e7c

Please sign in to comment.
Something went wrong with that request. Please try again.