mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
remove callbacks to speed things up
This commit is contained in:
parent
a7d7295116
commit
c16d6eefdf
1 changed files with 2 additions and 27 deletions
|
@ -37,33 +37,8 @@ var chat = (function()
|
|||
var self = {
|
||||
show: function ()
|
||||
{
|
||||
$("#chaticon").hide(function ()
|
||||
{
|
||||
$("#chatbox").show();
|
||||
/* $("#chatbox").resizable(
|
||||
{
|
||||
handles: 'nw',
|
||||
minHeight: 40,
|
||||
minWidth: 80,
|
||||
start: function (event, ui)
|
||||
{
|
||||
$("#focusprotector").show();
|
||||
},
|
||||
stop: function (event, ui)
|
||||
{
|
||||
$("#focusprotector").hide();
|
||||
|
||||
if(browser.mobile) {
|
||||
$("#chatbox").css({right: "0px", bottom: "32px", left: "", top: ""});
|
||||
} else {
|
||||
$("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""});
|
||||
}
|
||||
|
||||
self.scrollDown();
|
||||
}
|
||||
});
|
||||
*/
|
||||
});
|
||||
$("#chaticon").hide();
|
||||
$("#chatbox").show();
|
||||
chatMentions = 0;
|
||||
document.title = title;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue