1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

Fixed codacy code control

This commit is contained in:
kyos 2017-09-11 17:18:11 +02:00
parent cbf2bb450d
commit 8937599ba7

View File

@ -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);