From e106f5888cb4d761a6dcb71dc0273e461ef3c71a Mon Sep 17 00:00:00 2001 From: uditgulati Date: Sun, 13 Sep 2020 15:24:06 -0500 Subject: replace var with let in getParams() local variables --- wqflask/wqflask/templates/search_result_page.html | 4 ++-- wqflask/wqflask/templates/snp_browser.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 0bcbd492..6fe44d1a 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -176,9 +176,9 @@ $(document).ready( function () { var getParams = function(url) { - var parser = document.createElement('a'); + let parser = document.createElement('a'); parser.href = url; - var params = parser.search.substring(1); + let params = parser.search.substring(1); if(params.length > 0) { return ('?'+params); } diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html index c312aee8..129d03c2 100644 --- a/wqflask/wqflask/templates/snp_browser.html +++ b/wqflask/wqflask/templates/snp_browser.html @@ -233,9 +233,9 @@