Added a way to closed the extended chat window

pull/2014/head
Grant Woodford 2013-11-28 21:53:00 +02:00
parent 383a216a7d
commit d1367484e3
1 changed files with 3 additions and 3 deletions

View File

@ -41,15 +41,15 @@ var chat = (function()
if(!isStuck || fromInitialCall) { // Stick it to
padcookie.setPref("chatAlwaysVisible", true);
$('#chatbox').addClass("stickyChat");
$('#titlesticky').hide();
$('#titlesticky').hide();
$('#editorcontainer').css({"right":"192px"});
isStuck = true;
} else { // Unstick it
padcookie.setPref("chatAlwaysVisible", false);
$('#chatbox').removeClass("stickyChat");
$('#titlesticky').show();
$('#titlesticky').show();
$('#editorcontainer').css({"right":"0px"});
isStuck = false;
isStuck = false;
}
},
hide: function ()