Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Merge branch 'master' into 0718-refactor-touchscreenlayout

Ginger Wong46b22f876423
diff --cc webroot/js/message.js
index 8d36188f6f,bc74a50f7f..85a6aab4e1
--- a/webroot/js/message.js
+++ b/webroot/js/message.js
@@@ -74,10 -74,14 +74,11 @@@ class MessagingInterface
this.initLocalStates();
if (hasTouchScreen()) {
- this.scrollableMessagesContainer = document.body;
+ setVHvar();
+ window.addEventListener("orientationchange", setVHvar);
this.tagAppContainer.classList.add('touch-screen');
- window.onorientationchange = this.handleOrientationChange.bind(this);
- this.handleOrientationChange();
- } else {
- this.tagAppContainer.classList.add('desktop');
}
+
}
setWebsocket(socket) {