summaryrefslogtreecommitdiff
path: root/app/webutil.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/webutil.js')
-rw-r--r--app/webutil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/webutil.js b/app/webutil.js
index 084c69f..a2eab19 100644
--- a/app/webutil.js
+++ b/app/webutil.js
@@ -32,7 +32,7 @@ export function initLogging(level) {
export function getQueryVar(name, defVal) {
"use strict";
const re = new RegExp('.*[?&]' + name + '=([^&#]*)'),
- match = ''.concat(document.location.href, window.location.hash).match(re);
+ match = document.location.href.match(re);
if (typeof defVal === 'undefined') { defVal = null; }
if (match) {