diff --git a/front/src/EmbedFrame.vue b/front/src/EmbedFrame.vue index 57fff1d8f..d2c67623d 100644 --- a/front/src/EmbedFrame.vue +++ b/front/src/EmbedFrame.vue @@ -252,7 +252,7 @@ function getURLParams () { const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) } const query = window.location.search.substring(1) - while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]) } + while ((match = search.exec(query)) !== null) { urlParams[decode(match[1])] = decode(match[2]) } return urlParams } export default {