From: Hypolite Petovan Date: Wed, 15 Mar 2017 18:42:34 +0000 (-0400) Subject: Fix wrong deferred function name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35ba3cce709d761fb396541fc5a6678efe44c780;p=friendica.git Fix wrong deferred function name --- diff --git a/view/theme/frio/js/textedit.js b/view/theme/frio/js/textedit.js index 02191f33de..d212ee0038 100644 --- a/view/theme/frio/js/textedit.js +++ b/view/theme/frio/js/textedit.js @@ -181,7 +181,7 @@ function dropItem(url, elementId) { $el.fadeTo('fast', 0.33, function () { $.get(url).then(function() { $el.remove(); - }).error(function() { + }).fail(function() { // @todo Show related error message $el.show(); }).always(function() {