Make change requested by Codacy

pull/245/head
Jonathan Rehm 7 years ago
parent 5c3a5b6c39
commit e1a88aa0ab

@ -28,7 +28,7 @@ $(document).on("click", "[data-shelf-action]", function (e) {
} }
this.parentNode.removeChild(this); this.parentNode.removeChild(this);
}) })
.fail(xhr => { .fail((xhr) => {
const $msg = $("<span/>", { "class": "text-danger"}).text(xhr.responseText); const $msg = $("<span/>", { "class": "text-danger"}).text(xhr.responseText);
$("#shelf-action-status").html($msg); $("#shelf-action-status").html($msg);

Loading…
Cancel
Save