removed redundant statements

This commit is contained in:
Wikinaut 2011-11-27 06:39:12 +01:00
parent 2257cc0c1f
commit 9bb9f59a29

View file

@ -21,7 +21,6 @@ var chat = (function()
var self = { var self = {
show: function () show: function ()
{ if (chatAnimationIsStarted) return; { if (chatAnimationIsStarted) return;
chatAnimationIsStarted = true;
$("#chaticon").hide("slide", { $("#chaticon").hide("slide", {
direction: "down" direction: "down"
}, 500, function () }, 500, function ()
@ -50,8 +49,6 @@ var chat = (function()
hide: function () hide: function ()
{ {
if (chatAnimationIsStarted) return; if (chatAnimationIsStarted) return;
chatAnimationIsStarted = true;
$("#chatcounter").text("0"); $("#chatcounter").text("0");
$("#chatbox").hide("slide", { direction: "down" }, 750, function() $("#chatbox").hide("slide", { direction: "down" }, 750, function()
{ {