diff options
author | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-02 18:16:45 -0500 |
---|---|---|
committer | BlueRaja <BlueRaja.admin@gmail.com> | 2013-06-02 18:16:45 -0500 |
commit | 1ce392d19fed4b9bb022e4a881c0c385cea2bcdc (patch) | |
tree | 7d64cb290837007e5a74f336e76b968ea33299b9 /pages | |
parent | cf8404056ffbaf69b89e14cc010c50a4e6259bb5 (diff) | |
download | pathery-1ce392d19fed4b9bb022e4a881c0c385cea2bcdc.tar.xz |
Added fade in to spoilers
Diffstat (limited to 'pages')
-rw-r--r-- | pages/chat.php | 3 |
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() {
|