Fix eslint warnings

This commit is contained in:
Tom Hughes 2023-11-02 10:11:36 +00:00
parent ef4c9a3306
commit dc2c84f194

View file

@ -46,7 +46,7 @@ OSM.Changeset = function (map) {
success: function () { success: function () {
OSM.loadSidebarContent(window.location.pathname, page.load); 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").text(xhr.responseText);
$(form).find("#comment-error").prop("hidden", false); $(form).find("#comment-error").prop("hidden", false);
$(form).find("input[type=submit]").prop("disabled", false); $(form).find("input[type=submit]").prop("disabled", false);