Fixed codacy code control

pull/272/head
kyos 7 years ago
parent cbf2bb450d
commit 8937599ba7

@ -208,7 +208,7 @@ $("#search").on("change input.typeahead:selected", function() {
$("#btn-upload-format").on("change", function () { $("#btn-upload-format").on("change", function () {
var filename = $(this).val(); var filename = $(this).val();
if (filename.substring(3,11) === "fakepath") { if (filename.substring(3, 11) === "fakepath") {
filename = filename.substring(12); filename = filename.substring(12);
} // Remove c:\fake at beginning from localhost chrome } // Remove c:\fake at beginning from localhost chrome
$("#upload-format").html(filename); $("#upload-format").html(filename);

Loading…
Cancel
Save