Minor fixes for v2.2

- If NO_WEBSOCKETS or USEROPTS.altsocket are true, don't use websockets
- Base resizing on an invisible div (some channels remove/hide #queue)
- Names are properly italicized when AFK
This commit is contained in:
calzoneman 2013-08-04 11:44:48 -04:00
parent 20f0d1c316
commit 15085fc6ae
6 changed files with 11 additions and 9 deletions

View file

@ -340,7 +340,7 @@ $("#shuffleplaylist").click(function() {
/* layout stuff */
$(window).resize(function() {
VWIDTH = $("#queue").css("width").replace("px", "");
VWIDTH = $("#videowidth").css("width").replace("px", "");
VHEIGHT = ""+parseInt(parseInt(VWIDTH) * 9 / 16);
$("#messagebuffer").css("height", (VHEIGHT - 31) + "px");
$("#userlist").css("height", (VHEIGHT - 31) + "px");