1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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
commit 542a738926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

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");
}