mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed list-populate error
- Fixed issue where updating a list would cause it to be empty visually on update for users
This commit is contained in:
@@ -649,7 +649,7 @@ var Player = {
|
||||
document.getElementsByClassName("video-container")[0].style.width = val + "px";
|
||||
if(!Helper.mobilecheck()) {
|
||||
if(window.innerWidth > 769) {
|
||||
var test_against_width = window.innerWidth - window.getComputedStyle(document.querySelector(".control-list"), null).getPropertyValue("width") - document.querySelector(".zbrand").offsetWidth - document.querySelector(".brand-logo-navigate").offsetWidth - 66;
|
||||
var test_against_width = window.innerWidth - Helper.computedStyle(".control-list", "width") - document.querySelector(".zbrand").offsetWidth - document.querySelector(".brand-logo-navigate").offsetWidth - 66;
|
||||
title_width = test_against_width;
|
||||
document.querySelector(".title-container").style.width = title_width + "px";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user