mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix windows restart
This commit is contained in:
parent
4ef47844d8
commit
257a7d2879
18 changed files with 221 additions and 141 deletions
|
@ -1408,10 +1408,14 @@ var Dashboard = {
|
|||
|
||||
setPageTitle: function (title) {
|
||||
|
||||
var elem = $($.mobile.activePage)[0].querySelector('.pageTitle');
|
||||
var page = $.mobile.activePage;
|
||||
|
||||
if (elem) {
|
||||
elem.innerHTML = title;
|
||||
if (page) {
|
||||
var elem = $(page)[0].querySelector('.pageTitle');
|
||||
|
||||
if (elem) {
|
||||
elem.innerHTML = title;
|
||||
}
|
||||
}
|
||||
|
||||
if (title) {
|
||||
|
@ -2281,6 +2285,9 @@ var AppInfo = {};
|
|||
if (AppInfo.isNativeApp && !$.browser.android) {
|
||||
require(['localsync']);
|
||||
}
|
||||
if (AppInfo.isNativeApp && $.browser.safari) {
|
||||
require(['cordova/ios/backgroundfetch']);
|
||||
}
|
||||
//require(['localsync']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue