# HG changeset patch # User neko259 # Date 2019-01-31 08:10:31 # Node ID d8cfb8578c7a64e3d76f3b2024860ff5ecd5786e # Parent 0208042a34f477ed466272b15a85ef2416654215 Blink with fade out diff --git a/boards/static/js/thread_update.js b/boards/static/js/thread_update.js --- a/boards/static/js/thread_update.js +++ b/boards/static/js/thread_update.js @@ -45,7 +45,6 @@ var documentOriginalTitle = ''; // Thread ID does not change, can be stored one time var threadId = $('div.thread').children(CLASS_POST).first().attr('id'); -var blinkColor = $('
').css('background-color'); /** * Get diff of the posts from the current thread timestamp. @@ -174,7 +173,7 @@ function updatePost(postHtml) { * Initiate a blinking animation on a node to show it was updated. */ function blink(node) { - node.effect('highlight', { color: blinkColor }, BLINK_SPEED); + node.fadeOut(BLINK_SPEED).fadeIn(BLINK_SPEED); } function isPageBottom() {