Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 2, 2023
1 parent ef4c9a3 commit dc2c84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/index/changeset.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc2c84f

Please sign in to comment.