slightly cleaner

pull/2010/head
John McLear 2013-11-25 17:36:24 +00:00
parent 252be19885
commit 3be1ee5967
1 changed files with 1 additions and 2 deletions

View File

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