Fix wrong deferred function name

This commit is contained in:
Hypolite Petovan 2017-03-15 14:42:34 -04:00
parent 327b00117d
commit 35ba3cce70
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function dropItem(url, elementId) {
$el.fadeTo('fast', 0.33, function () { $el.fadeTo('fast', 0.33, function () {
$.get(url).then(function() { $.get(url).then(function() {
$el.remove(); $el.remove();
}).error(function() { }).fail(function() {
// @todo Show related error message // @todo Show related error message
$el.show(); $el.show();
}).always(function() { }).always(function() {