Merge pull request #2010 from ether/sticky-chat-resize

Sticky chat resize
indentation
John McLear 2013-11-25 09:36:44 -08:00
commit b527ef2bc5
1 changed files with 2 additions and 0 deletions

View File

@ -43,9 +43,11 @@ var chat = (function()
$('#chatbox').addClass("stickyChat");
$('#chattext').css({"top":"0px"});
$('#editorcontainer').css({"right":"192px"});
$('.stickyChat').css("top",$('#editorcontainer').offset().top+"px");
isStuck = true;
} else { // Unstick it
padcookie.setPref("chatAlwaysVisible", false);
$('.stickyChat').css("top", "auto");
$('#chatbox').removeClass("stickyChat");
$('#chattext').css({"top":"25px"});
$('#editorcontainer').css({"right":"0px"});