mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed some bugs with merge from upstream
This commit is contained in:
parent
5b26405c06
commit
0b71b0b493
2 changed files with 6 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdrop', 'globalize', 'require', 'appSettings', 'appRouter'], function (appHost, userSettings, browser, events, pluginManager, backdrop, globalize, require, appSettings, appRouter) {
|
||||
define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdrop', 'globalize', 'require', 'appSettings'], function (appHost, userSettings, browser, events, pluginManager, backdrop, globalize, require, appSettings) {
|
||||
'use strict';
|
||||
|
||||
var themeStyleElement;
|
||||
|
@ -18,9 +18,9 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr
|
|||
options = options || {};
|
||||
|
||||
if (options.start) {
|
||||
appRouter.invokeShortcut(options.start);
|
||||
Emby.Page.invokeShortcut(options.start);
|
||||
} else {
|
||||
appRouter.goHome();
|
||||
Emby.Page.goHome();
|
||||
}
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue