mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add multiselect help text
This commit is contained in:
parent
520cea9b43
commit
4d99db4b6b
7 changed files with 39 additions and 11 deletions
|
@ -1019,6 +1019,27 @@
|
|||
hammertime.on('press', onTapHold);
|
||||
hammertime.on('pressup', onTapHoldUp);
|
||||
});
|
||||
showTapHoldHelp();
|
||||
}
|
||||
|
||||
function showTapHoldHelp() {
|
||||
|
||||
// Don't do this on the home page
|
||||
if (!$.mobile.activePage || $($.mobile.activePage)[0].classList.contains('homePage')) {
|
||||
return;
|
||||
}
|
||||
|
||||
var expectedValue = "5";
|
||||
if (appStorage.getItem("tapholdhelp") == expectedValue) {
|
||||
return;
|
||||
}
|
||||
|
||||
appStorage.setItem("tapholdhelp", expectedValue);
|
||||
|
||||
Dashboard.alert({
|
||||
message: Globalize.translate('TryMultiSelectMessage'),
|
||||
title: Globalize.translate('HeaderTryMultiSelect')
|
||||
});
|
||||
}
|
||||
|
||||
function disableEvent(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue