]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/changeset.js
Fix eslint warnings
[rails.git] / app / assets / javascripts / index / changeset.js
index a659feef6373924d9ff0872e008c35915012fd63..c6e77bc71f2f9af2f8a69d194e3975598251f5a2 100644 (file)
@@ -46,7 +46,7 @@ OSM.Changeset = function (map) {
       success: function () {
         OSM.loadSidebarContent(window.location.pathname, page.load);
       },
-      error: function (xhr, xhr_status, http_status) {
+      error: function (xhr) {
         $(form).find("#comment-error").text(xhr.responseText);
         $(form).find("#comment-error").prop("hidden", false);
         $(form).find("input[type=submit]").prop("disabled", false);