summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pages/chat.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/chat.php b/pages/chat.php
index 0c88990..4a14a8d 100644
--- a/pages/chat.php
+++ b/pages/chat.php
@@ -260,7 +260,7 @@ function sendChat() {
}
function spoil(obj) {
- $(obj).removeClass("spoiler");
+ $(obj).removeClass("spoiler").hide().fadeIn(600);
$(obj).children().removeAttr('onclick');
}
@@ -289,7 +289,6 @@ function doNothingWhenClickingLinks()
return false;
}
-
//Code for checking if the window is currently visible or not
//Adapted from http://stackoverflow.com/a/1060034/238419
$(function() {