##// END OF EJS Templates
Blink with fade out
neko259 -
r2134:d8cfb857 default
parent child Browse files
Show More
@@ -45,7 +45,6 b" var documentOriginalTitle = '';"
45 45
46 46 // Thread ID does not change, can be stored one time
47 47 var threadId = $('div.thread').children(CLASS_POST).first().attr('id');
48 var blinkColor = $('<div class="post-blink"></div>').css('background-color');
49 48
50 49 /**
51 50 * Get diff of the posts from the current thread timestamp.
@@ -174,7 +173,7 b' function updatePost(postHtml) {'
174 173 * Initiate a blinking animation on a node to show it was updated.
175 174 */
176 175 function blink(node) {
177 node.effect('highlight', { color: blinkColor }, BLINK_SPEED);
176 node.fadeOut(BLINK_SPEED).fadeIn(BLINK_SPEED);
178 177 }
179 178
180 179 function isPageBottom() {
General Comments 0
You need to be logged in to leave comments. Login now