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

fix safari load issues

This commit is contained in:
Luke Pulverenti 2016-04-03 13:36:47 -04:00
parent 948aebfb44
commit f4f15d265c
11 changed files with 98 additions and 358 deletions

View file

@ -254,6 +254,7 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
firstConnectionResult = null;
if (firstResult.State != MediaBrowser.ConnectionState.SignedIn && !route.anonymous) {
handleConnectionResult(firstResult, loading);
return;
}
@ -274,7 +275,8 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
console.log('Emby.Page - user is authenticated');
if (ctx.isBack && (route.isDefaultRoute /*|| isStartup(ctx)*/)) {
var isCurrentRouteStartup = currentRouteInfo ? currentRouteInfo.route.startup : true;
if (ctx.isBack && (route.isDefaultRoute || route.startup) && !isCurrentRouteStartup) {
handleBackToDefault();
return;
}