included a typo..

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-23 12:55:35 +02:00
parent a9eaa282a5
commit ec8dd98ccb

View File

@@ -784,12 +784,11 @@ function resizePlaylistPlaying(playing) {
if(window.innerWidth < 601) { if(window.innerWidth < 601) {
var subtract = 0; var subtract = 0;
if(playing) { if(playing) {
Helper.css("#chat-bar" "height", window.innerHeight - 246 - subtract + "px"); Helper.css("#chat-bar", "height", window.innerHeight - 246 - subtract + "px");
subtract = 200; subtract = 200;
} else { } else {
document.querySelector("#chat-bar").style.height = ""; document.querySelector("#chat-bar").style.height = "";
} }
Helper.css("#chat-bar" "height", window.innerHeight - 246 - subtract + "px");
Helper.css("#wrapper", "height", window.innerHeight - 246 - subtract + "px"); Helper.css("#wrapper", "height", window.innerHeight - 246 - subtract + "px");
var temp_fit = Math.round(Helper.computedStyle("#wrapper", "height") / 71)+1; var temp_fit = Math.round(Helper.computedStyle("#wrapper", "height") / 71)+1;
if(temp_fit > List.can_fit || temp_fit < List.can_fit){ if(temp_fit > List.can_fit || temp_fit < List.can_fit){