Merge pull request #1093 from MrTimscampi/mobile-fixes-2

Fix some mobile navigation issues
This commit is contained in:
dkanada
2020-04-17 06:42:17 +09:00
committed by GitHub
3 changed files with 10 additions and 10 deletions
+4 -2
View File
@@ -63,7 +63,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
hasImage = true;
}
headerUserButton.classList.remove("hide");
if (!layoutManager.mobile) {
headerUserButton.classList.remove("hide");
}
} else {
headerUserButton.classList.add("hide");
}
@@ -73,7 +75,7 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
}
if (user && user.localUser) {
if (headerHomeButton && !layoutManager.mobile) {
if (headerHomeButton) {
headerHomeButton.classList.remove("hide");
}