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

enable back button on sort menus

This commit is contained in:
Luke Pulverenti 2015-10-15 00:32:10 -04:00
parent 146e2688fe
commit 80929558e6
31 changed files with 54 additions and 35 deletions

View file

@ -1024,12 +1024,17 @@
function showTapHoldHelp() {
// Don't do this on the home page
if (!$.mobile.activePage || $($.mobile.activePage)[0].classList.contains('homePage')) {
if (!$.mobile.activePage) {
return;
}
var expectedValue = "5";
var page = $($.mobile.activePage)[0];
// Don't do this on the home page
if (page.classList.contains('homePage') || page.classList.contains('itemDetailPage')) {
return;
}
var expectedValue = "6";
if (appStorage.getItem("tapholdhelp") == expectedValue) {
return;
}