From 00ca15a7455b1514b5a72aaad621daeda7e6dace Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Fri, 19 Feb 2021 11:29:12 -0500 Subject: [PATCH] Remove const keyword for var that has potential to change --- html/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/js/app.js b/html/js/app.js index 818ba064..2eb66e4c 100644 --- a/html/js/app.js +++ b/html/js/app.js @@ -153,7 +153,7 @@ $(document).ready(function() { if (pngFavicon && svgFavicon) { const ext = ".svg"; - const tagIndex = svgFavicon.href.indexOf("-"); + var tagIndex = svgFavicon.href.indexOf("-"); const extIndex = svgFavicon.href.indexOf(ext); if (tagIndex > extIndex) tagIndex = -1; const baseText = svgFavicon.href.substring(0, tagIndex !== -1 ? tagIndex : extIndex);