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

fix remote control nav

This commit is contained in:
Luke Pulverenti 2017-01-26 13:51:14 -05:00
parent 48c0634cc6
commit c86f9cadc4
7 changed files with 10 additions and 28 deletions

View file

@ -472,6 +472,10 @@ define(['loading', 'viewManager', 'skinManager', 'pluginManager', 'backdrop', 'b
}
function show(path, options) {
if (path.indexOf('/') !== 0 && path.indexOf('://') === -1) {
path = '/' + path;
}
var baseRoute = baseUrl();
path = path.replace(baseRoute, '');