mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-12 15:56:16 +02:00
slightly cleaner
This commit is contained in:
parent
252be19885
commit
3be1ee5967
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user