mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed and Closes #383
This commit is contained in:
@@ -979,7 +979,11 @@ function resizePlaylistPlaying(playing) {
|
|||||||
List.element_height = (Helper.computedStyle("#wrapper", "height") / List.can_fit)-5.3;
|
List.element_height = (Helper.computedStyle("#wrapper", "height") / List.can_fit)-5.3;
|
||||||
Helper.css(".list-song", "height", List.element_height + "px");
|
Helper.css(".list-song", "height", List.element_height + "px");
|
||||||
Channel.set_title_width();
|
Channel.set_title_width();
|
||||||
List.dynamicContentPageJumpTo(page / canFit);
|
var toJumpTo = page / canFit;
|
||||||
|
if(toJumpTo > Math.floor(full_playlist.length / List.can_fit)) {
|
||||||
|
toJumpTo = Math.floor(full_playlist.length / List.can_fit);
|
||||||
|
}
|
||||||
|
List.dynamicContentPageJumpTo(toJumpTo);
|
||||||
if(!client) {
|
if(!client) {
|
||||||
var controlsPosition = document.querySelector("#controls").offsetHeight - Helper.computedStyle("#controls", "height");
|
var controlsPosition = document.querySelector("#controls").offsetHeight - Helper.computedStyle("#controls", "height");
|
||||||
if(document.querySelectorAll("#controls").length > 0 && !Helper.mobilecheck()) {
|
if(document.querySelectorAll("#controls").length > 0 && !Helper.mobilecheck()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user