diff --git a/public/js/chat.js b/public/js/chat.js index 6454df6..d060929 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -881,6 +881,8 @@ function startUp() { captionText.text("Waiting for other user to join...").fadeIn(); rePositionCaptions(); + + navigator.mediaDevices.ondevicechange = () => window.location.reload(); } startUp();