From a3a89be6484a88b96974f1af0b0c658a92a483e4 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Fri, 17 Apr 2020 11:27:50 +0200
Subject: [PATCH] FIX. missing varibale declaration

---
 src/core/js/ext_bottom_line.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/js/ext_bottom_line.js b/src/core/js/ext_bottom_line.js
index fca4b671..39c2f3b2 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;
                 }
-- 
GitLab