From e1a88aa0abb4d0e039016dfb989d308ad6f6767e Mon Sep 17 00:00:00 2001 From: Jonathan Rehm Date: Sat, 22 Jul 2017 07:34:38 -0700 Subject: [PATCH] Make change requested by Codacy --- cps/static/js/details.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/static/js/details.js b/cps/static/js/details.js index ba45da17..c3aaf4e4 100644 --- a/cps/static/js/details.js +++ b/cps/static/js/details.js @@ -28,7 +28,7 @@ $(document).on("click", "[data-shelf-action]", function (e) { } this.parentNode.removeChild(this); }) - .fail(xhr => { + .fail((xhr) => { const $msg = $("", { "class": "text-danger"}).text(xhr.responseText); $("#shelf-action-status").html($msg);