Show More
@@ -32,6 +32,7 b' var POST_UPDATED = 1;' | |||
|
32 | 32 | var JS_AUTOUPDATE_PERIOD = 20000; |
|
33 | 33 | // TODO This needs to be the same for attachment download time limit. |
|
34 | 34 | var POST_AJAX_TIMEOUT = 30000; |
|
35 | var BLINK_SPEED = 500; | |
|
35 | 36 | |
|
36 | 37 | var ALLOWED_FOR_PARTIAL_UPDATE = [ |
|
37 | 38 | 'refmap', |
@@ -198,12 +199,7 b' function updatePost(postHtml) {' | |||
|
198 | 199 | * Initiate a blinking animation on a node to show it was updated. |
|
199 | 200 | */ |
|
200 | 201 | function blink(node) { |
|
201 | var blinkCount = 2; | |
|
202 | ||
|
203 | var nodeToAnimate = node; | |
|
204 | for (var i = 0; i < blinkCount; i++) { | |
|
205 | nodeToAnimate = nodeToAnimate.fadeTo('fast', 0.5).fadeTo('fast', 1.0); | |
|
206 | } | |
|
202 | node.effect('highlight', {}, BLINK_SPEED); | |
|
207 | 203 | } |
|
208 | 204 | |
|
209 | 205 | function isPageBottom() { |
General Comments 0
You need to be logged in to leave comments.
Login now