diff options
Diffstat (limited to 'app/webutil.js')
-rw-r--r-- | app/webutil.js | 2 |
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) { |