Commit e5b4bed0 authored by kyos's avatar kyos

Fixed codacy requirements

parent 9086f4e0
......@@ -206,10 +206,10 @@ $("#search").on("change input.typeahead:selected", function() {
});
});
$("#btn-upload-format").on('change', 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);
$("#upload-format").html(filename);
});
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