mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed playlist bug, and sizing of jazzplayer
This commit is contained in:
@@ -55,11 +55,15 @@ function updateList()
|
|||||||
"</div>";
|
"</div>";
|
||||||
$("#wrapper").append(finalhtml);
|
$("#wrapper").append(finalhtml);
|
||||||
});
|
});
|
||||||
if($("#playlist").height() != $("#player").height())
|
if($("#playlist").height() != $("#player").height() || ($("#chan").html().toLowerCase() == "jazz" && $("#playlist").height() != $("#jplayer").height()))
|
||||||
{
|
{
|
||||||
if(!window.mobilecheck())
|
if(!window.mobilecheck())
|
||||||
{
|
{
|
||||||
$("#playlist").css({height: $("#player").height()-$("#adminPanel").outerHeight(true)-$("#findform").outerHeight(true)+30});
|
if($("#chan").html().toLowerCase() == "jazz")
|
||||||
|
{
|
||||||
|
player_name = "#jplayer";
|
||||||
|
}else player_name = "#player";
|
||||||
|
$("#playlist").css({height: $(player_name).height()-$("#adminPanel").outerHeight(true)-$("#findform").outerHeight(true)+30});
|
||||||
$("#playlist").css({overflow: "hidden"});
|
$("#playlist").css({overflow: "hidden"});
|
||||||
if(scroller === false)
|
if(scroller === false)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -504,7 +504,7 @@ input[type="radio"] {
|
|||||||
filter:brightness(100%) !important;
|
filter:brightness(100%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jp {
|
#jplayer {
|
||||||
display:none;
|
display:none;
|
||||||
-webkit-transition: opacity 1s;
|
-webkit-transition: opacity 1s;
|
||||||
transition: opacity 1s;
|
transition: opacity 1s;
|
||||||
|
|||||||
Reference in New Issue
Block a user