From 8937599ba7b9e990ac2d05b34518300045b9ea85 Mon Sep 17 00:00:00 2001 From: kyos Date: Mon, 11 Sep 2017 17:18:11 +0200 Subject: [PATCH] Fixed codacy code control --- cps/static/js/edit_books.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/static/js/edit_books.js b/cps/static/js/edit_books.js index 13fba74c..061a803e 100644 --- a/cps/static/js/edit_books.js +++ b/cps/static/js/edit_books.js @@ -208,7 +208,7 @@ $("#search").on("change input.typeahead:selected", function() { $("#btn-upload-format").on("change", function () { var filename = $(this).val(); - if (filename.substring(3,11) === "fakepath") { + if (filename.substring(3, 11) === "fakepath") { filename = filename.substring(12); } // Remove c:\fake at beginning from localhost chrome $("#upload-format").html(filename);