]> git.openstreetmap.org Git - rails.git/commitdiff
Fix eslint warnings
authorTom Hughes <tom@compton.nu>
Thu, 2 Nov 2023 10:11:36 +0000 (10:11 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 2 Nov 2023 10:11:36 +0000 (10:11 +0000)
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);