mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
reverted my wrong change 9bb9f59a
and reinserted setting chatAnimationIsStarted=true
This commit is contained in:
parent
9bb9f59a29
commit
0a1a869729
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ 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 ()
|
||||||
|
@ -49,6 +50,7 @@ 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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue