Pass room name to IE page

This commit is contained in:
Horatiu Muresan 2020-02-21 13:27:42 +02:00 committed by Saúl Ibarra Corretgé
parent 7446e6165e
commit fb8ef366c6
1 changed files with 2 additions and 1 deletions

View File

@ -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();