mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
now playing bar fixes
This commit is contained in:
parent
2047f4bd49
commit
84eb8fc047
6 changed files with 19 additions and 25 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
function renderHeader(page, user) {
|
||||
|
||||
var html = '<div class="viewMenuBar">';
|
||||
var html = '<div class="viewMenuBar ui-bar-b">';
|
||||
|
||||
html += '<button type="button" data-icon="bars" data-iconpos="notext" data-inline="true" title="Menu" class="libraryMenuButton" onclick="LibraryMenu.showLibraryMenu($(this).parents(\'.page\'));">Menu</button>';
|
||||
|
||||
|
@ -221,11 +221,7 @@
|
|||
|
||||
var link = links[i];
|
||||
|
||||
if (selectedIndex == i) {
|
||||
html += '<li><a class="selectedLibraryPanelLink libraryPanelLink" href="' + link.href + '">' + link.text + '</a></li>';
|
||||
} else {
|
||||
html += '<li><a class="libraryPanelLink" href="' + link.href + '">' + link.text + '</a></li>';
|
||||
}
|
||||
html += '<li><a class="libraryPanelLink" href="' + link.href + '">' + link.text + '</a></li>';
|
||||
}
|
||||
|
||||
html += '</ul>';
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
idleState = true;
|
||||
$('.itemVideo').on('mousemove keydown scroll', idleHandler).trigger('mousemove');
|
||||
} else {
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.mediaSlider,.barBackground", nowPlayingBar).removeClass("highPosition");
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.sliderContainer,.barBackground", nowPlayingBar).removeClass("highPosition");
|
||||
$('.itemVideo').removeClass('fullscreenVideo');
|
||||
}
|
||||
|
||||
|
@ -218,7 +218,6 @@
|
|||
|
||||
volumeSlider = $('.volumeSlider').on('slidestop', function () {
|
||||
|
||||
document.title += '1';
|
||||
var vol = this.value;
|
||||
|
||||
updateVolumeButtons(vol);
|
||||
|
@ -699,12 +698,12 @@
|
|||
window.clearTimeout(timeout);
|
||||
}
|
||||
if (idleState == true) {
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.mediaSlider,.barBackground", nowPlayingBar).addClass("highPosition");
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.sliderContainer,.barBackground", nowPlayingBar).addClass("highPosition");
|
||||
}
|
||||
idleState = false;
|
||||
timeout = window.setTimeout(function () {
|
||||
idleState = true;
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.mediaSlider,.barBackground", nowPlayingBar).removeClass("highPosition");
|
||||
$(".mediaButton,.currentTime,.nowPlayingMediaInfo,.sliderContainer,.barBackground", nowPlayingBar).removeClass("highPosition");
|
||||
}, 4000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue