diff --git a/src/core/js/ext_bottom_line.js b/src/core/js/ext_bottom_line.js index fca4b671792232a8eeed483d0fe39ea569734845..39c2f3b237a5cc33134df528c8d948915d6603d7 100644 --- a/src/core/js/ext_bottom_line.js +++ b/src/core/js/ext_bottom_line.js @@ -84,9 +84,9 @@ var ext_bottom_line = function ($, logger, is_in_view_port, load_config, getEnti * extensionss. */ const _path_has_file_extension = function (entity, extensions) { - var path = getEntityPath(entity); + const path = getEntityPath(entity); if (path) { - for (ext in extensions) { + for (var ext in extensions) { if(path.toLowerCase().endsWith(ext)) { return true; }