Revert "common.js: show error on ajax failures." (#3640)

This reverts commit ad66b8abc9.
This commit is contained in:
evazion
2018-04-13 22:43:45 -05:00
parent 302994e5d9
commit d66df41b58

View File

@@ -39,11 +39,6 @@ $(function() {
location.reload();
});
});
// triggered by rails when a `link_to ..., remote: true` call fails.
$(document).on("ajax:error", function (event, xhr, status, error) {
Danbooru.error("Error: " + xhr.status + " " + xhr.statusText);
});
});
var Danbooru = {};