markup and styles for simple mobile only
This commit is contained in:
@@ -99,12 +99,16 @@ class Messaging {
|
||||
this.imgUsernameAvatar.src = this.avatarSource + username;
|
||||
}
|
||||
displayChat() {
|
||||
this.tagAppContainer.className = this.chatDisplayed ? "flex" : "flex no-chat";
|
||||
if (this.chatDisplayed) {
|
||||
this.tagAppContainer.classList.remove("no-chat");
|
||||
} else {
|
||||
this.tagAppContainer.classList.add("no-chat");
|
||||
}
|
||||
}
|
||||
|
||||
handleOrientationChange() {
|
||||
console.log("====orientation change 123", event, window.screen.orientation, window.orientation, window.matchMedia("(orientation: landscape)"))
|
||||
mobileVHhack();
|
||||
// mobileVHhack();
|
||||
// if small landscape, hide chat
|
||||
// var mql = window.matchMedia("(orientation: landscape)"); // what it _was_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user