mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 22:49:53 +01:00
Added a way to closed the extended chat window
This commit is contained in:
parent
383a216a7d
commit
d1367484e3
1 changed files with 3 additions and 3 deletions
|
@ -41,15 +41,15 @@ var chat = (function()
|
||||||
if(!isStuck || fromInitialCall) { // Stick it to
|
if(!isStuck || fromInitialCall) { // Stick it to
|
||||||
padcookie.setPref("chatAlwaysVisible", true);
|
padcookie.setPref("chatAlwaysVisible", true);
|
||||||
$('#chatbox').addClass("stickyChat");
|
$('#chatbox').addClass("stickyChat");
|
||||||
$('#titlesticky').hide();
|
$('#titlesticky').hide();
|
||||||
$('#editorcontainer').css({"right":"192px"});
|
$('#editorcontainer').css({"right":"192px"});
|
||||||
isStuck = true;
|
isStuck = true;
|
||||||
} else { // Unstick it
|
} else { // Unstick it
|
||||||
padcookie.setPref("chatAlwaysVisible", false);
|
padcookie.setPref("chatAlwaysVisible", false);
|
||||||
$('#chatbox').removeClass("stickyChat");
|
$('#chatbox').removeClass("stickyChat");
|
||||||
$('#titlesticky').show();
|
$('#titlesticky').show();
|
||||||
$('#editorcontainer').css({"right":"0px"});
|
$('#editorcontainer').css({"right":"0px"});
|
||||||
isStuck = false;
|
isStuck = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
hide: function ()
|
hide: function ()
|
||||||
|
|
Loading…
Reference in a new issue