1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-07-01 09:33:16 +00:00

Make change requested by Codacy

This commit is contained in:
Jonathan Rehm 2017-07-22 07:34:38 -07:00
parent 5c3a5b6c39
commit e1a88aa0ab

View File

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