From fb8ef366c673c357183d5e568aaf127428c320ae Mon Sep 17 00:00:00 2001 From: Horatiu Muresan Date: Fri, 21 Feb 2020 13:27:42 +0200 Subject: [PATCH] Pass room name to IE page --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 263311b38..30cea926e 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,8 @@ // IE11 and earlier can be identified via their user agent and be // redirected to a page that is known to have no newer js syntax. if (window.navigator.userAgent.match(/(MSIE|Trident)/)) { - window.location.href = "static/recommendedBrowsers.html"; + var roomName = encodeURIComponent(window.location.pathname); + window.location.href = "static/recommendedBrowsers.html" + "?room=" + roomName; } window.indexLoadedTime = window.performance.now();