mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
Make change requested by Codacy
This commit is contained in:
parent
5c3a5b6c39
commit
e1a88aa0ab
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user