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 23:14:29 -04:00
parent c389d502e0
commit a4431538c7
3 changed files with 15 additions and 9 deletions

View file

@ -70,7 +70,13 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
var url = route.contentPath || route.path;
if (url.toLowerCase().indexOf('http') != 0 && url.indexOf('file:') != 0) {
url = baseUrl() + '/' + url;
if (url.indexOf('/') != 0) {
url = '/' + url;
}
url = baseUrl() + url;
}
url += url.indexOf('?') == -1 ? '?' : '&';
@ -188,8 +194,8 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
options = options || {};
page({
click: options.click || false,
hashbang: true,
click: options.click !== false,
hashbang: options.hashbang !== false,
enableHistory: enableHistory()
});
});