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

update components

This commit is contained in:
Luke Pulverenti 2016-03-15 16:04:29 -04:00
parent 53371d27ab
commit 48d4b0c287
6 changed files with 18 additions and 11 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.58",
"_release": "1.1.58",
"version": "1.1.60",
"_release": "1.1.60",
"_resolution": {
"type": "version",
"tag": "1.1.58",
"commit": "65c791671a6bc768533a150998a75565b8e17cff"
"tag": "1.1.60",
"commit": "6b1287b7db17651fab4570e9c7c6cb8e8cdead53"
},
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.1.5",

View file

@ -619,6 +619,10 @@ define([], function () {
// ensure non-hash for the same path
var link = el.getAttribute('href');
if (link == '#') {
e.preventDefault();
return;
}
if (!hashbang && el.pathname === location.pathname && (el.hash || '#' === link)) return;

View file

@ -135,7 +135,8 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
controllerFactory: controllerFactory,
options: {
supportsThemeMedia: route.supportsThemeMedia || false
}
},
autoFocus: route.autoFocus
};
currentViewLoadRequest = currentRequest;

View file

@ -41,7 +41,9 @@ define(['viewcontainer', 'focusManager', 'queryString', 'connectionManager', 'ev
var eventDetail = getViewEventDetail(view, options, isRestore);
if (!isRestore) {
focusManager.autoFocus(view);
if (options.autoFocus !== false) {
focusManager.autoFocus(view);
}
}
else if (view.activeElement) {
view.activeElement.focus();