Fix embed frame

This commit is contained in:
Ciaran Ainsworth 2022-01-21 19:12:45 +01:00
parent c2756ad35c
commit 781eda849e
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ function getURLParams () {
const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) } const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) }
const query = window.location.search.substring(1) const query = window.location.search.substring(1)
while (match === search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]) } while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]) }
return urlParams return urlParams
} }
export default { export default {