From bc44fa389fe6236c8ee68fcbd93466deee2902d2 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Sat, 22 Jan 2022 17:58:24 +0000 Subject: [PATCH] Improve reliability --- front/src/EmbedFrame.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {