mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update action sheet
This commit is contained in:
parent
79b9a76c6b
commit
c959aa01a2
22 changed files with 123 additions and 153 deletions
|
@ -1873,12 +1873,14 @@ var AppInfo = {};
|
|||
paths.sharingwidget = "cordova/sharingwidget";
|
||||
paths.serverdiscovery = "cordova/serverdiscovery";
|
||||
paths.wakeonlan = "cordova/wakeonlan";
|
||||
paths.actionsheet = "cordova/actionsheet";
|
||||
} else {
|
||||
paths.dialog = "components/dialog";
|
||||
paths.prompt = "components/prompt";
|
||||
paths.sharingwidget = "components/sharingwidget";
|
||||
paths.serverdiscovery = apiClientBowerPath + "/serverdiscovery";
|
||||
paths.wakeonlan = apiClientBowerPath + "/wakeonlan";
|
||||
paths.actionsheet = "scripts/actionsheet";
|
||||
}
|
||||
|
||||
// hack for an android test before browserInfo is loaded
|
||||
|
@ -2056,12 +2058,6 @@ var AppInfo = {};
|
|||
});
|
||||
define("tileitemcss", ['css!css/tileitem.css']);
|
||||
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
define("actionsheet", ["cordova/actionsheet"]);
|
||||
} else {
|
||||
define("actionsheet", ["scripts/actionsheet"]);
|
||||
}
|
||||
|
||||
define("sharingmanager", ["scripts/sharingmanager"]);
|
||||
|
||||
if (Dashboard.isRunningInCordova() && browserInfo.safari) {
|
||||
|
@ -2519,9 +2515,9 @@ pageClassOn('pageshow', "page", function () {
|
|||
}
|
||||
|
||||
if (currentTheme != 'a' && !browserInfo.mobile) {
|
||||
document.body.classList.add('darkScrollbars');
|
||||
document.documentElement.classList.add('darkScrollbars');
|
||||
} else {
|
||||
document.body.classList.remove('darkScrollbars');
|
||||
document.documentElement.classList.remove('darkScrollbars');
|
||||
}
|
||||
|
||||
Dashboard.ensurePageTitle(page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue