Skip to content

Commit

Permalink
Pass room name to IE page
Browse files Browse the repository at this point in the history
  • Loading branch information
horymury authored and saghul committed Feb 21, 2020
1 parent 7446e61 commit fb8ef36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit fb8ef36

Please sign in to comment.