From dc2c84f194f1ae564676964e528d5ec58657fdf0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 2 Nov 2023 10:11:36 +0000 Subject: [PATCH] Fix eslint warnings --- app/assets/javascripts/index/changeset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/changeset.js b/app/assets/javascripts/index/changeset.js index a659feef63..c6e77bc71f 100644 --- a/app/assets/javascripts/index/changeset.js +++ b/app/assets/javascripts/index/changeset.js @@ -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);