Skip to content
Snippets Groups Projects
Commit 56ab8e59 authored by Peter Rotich's avatar Peter Rotich
Browse files

filedrop: Use jQuery to remove filenode

parent 5628eb78
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
var i = this.uploads.indexOf(filenode); var i = this.uploads.indexOf(filenode);
if (i !== -1) if (i !== -1)
this.uploads.splice(i,1); this.uploads.splice(i,1);
filenode.slideUp('fast', function() { this.remove(); }); filenode.slideUp('fast', function() { $(this).remove(); });
} }
}, },
cancelUpload: function(node) { cancelUpload: function(node) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment