From 781eda849eabfaf941b311644ac3e35b33005314 Mon Sep 17 00:00:00 2001 From: Ciaran Ainsworth Date: Fri, 21 Jan 2022 19:12:45 +0100 Subject: [PATCH] Fix embed frame --- 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 bc31d51e4..57fff1d8f 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)) { urlParams[decode(match[1])] = decode(match[2]) } return urlParams } export default {