diff --git a/www/js/util.js b/www/js/util.js index 7aefe628..2c569ad1 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -1845,8 +1845,7 @@ function chatOnly() { handleWindowResize(); } -function videoOnly() -{ +function videoOnly() { var video = $("#videowrap").detach(); video.prependTo($("body")); $("#wrap").remove(); @@ -1862,6 +1861,7 @@ function videoOnly() handleWindowResize(); } + function handleWindowResize() { if ($("body").hasClass("chatOnly")) { var h = $("body").outerHeight() - $("#chatline").outerHeight() -