Skip to content
Snippets Groups Projects
Verified Commit a3a89be6 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX. missing varibale declaration

parent 4604ee04
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment