]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong deferred function name
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 15 Mar 2017 18:42:34 +0000 (14:42 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 15 Mar 2017 18:42:34 +0000 (14:42 -0400)
view/theme/frio/js/textedit.js

index 02191f33dee6ba2a71639553f3e74bcfc39249ef..d212ee0038ee7d2d35e065ba0c9a0be0a024e47b 100644 (file)
@@ -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() {