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

minor mobile fixes

This commit is contained in:
Luke Pulverenti 2013-12-27 00:13:19 -05:00
parent 125c24ed56
commit 728e0003b2
2 changed files with 5 additions and 2 deletions

View file

@ -612,7 +612,10 @@ var Dashboard = {
headerHtml += '</a>';
if (user.Configuration.IsAdministrator) {
headerHtml += '<a class="imageLink btnTools" href="dashboard.html" data-role="button" data-icon="gear" data-inline="true" data-iconpos="notext">Tools</a>';
var href = window.location.toString().toLowerCase().indexOf('dashboard.html') == -1 ? 'dashboard.html' : '#';
headerHtml += '<a class="imageLink btnTools" href="' + href + '" data-role="button" data-icon="gear" data-inline="true" data-iconpos="notext">Tools</a>';
}
}