Commit e1a88aa0 authored by Jonathan Rehm's avatar Jonathan Rehm

Make change requested by Codacy

parent 5c3a5b6c
...@@ -28,7 +28,7 @@ $(document).on("click", "[data-shelf-action]", function (e) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment