remove callbacks to speed things up

This commit is contained in:
John McLear 2012-02-02 18:44:43 +00:00
parent a7d7295116
commit c16d6eefdf

View file

@ -37,33 +37,8 @@ var chat = (function()
var self = {
show: function ()
{
$("#chaticon").hide(function ()
{
$("#chaticon").hide();
$("#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();
}
});
*/
});
chatMentions = 0;
document.title = title;
},