aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/search_result_page.html4
-rw-r--r--wqflask/wqflask/templates/snp_browser.html4
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 @@
<script language="javascript">
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);
}