From: Sarven Capadisli Date: Wed, 11 Nov 2009 12:21:27 +0000 (+0000) Subject: Using mark-top styles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6cd083946be96bcfc64329fc0bfdd28261c82ef;p=quix0rs-gnu-social.git Using mark-top styles --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index ca6ea891a1..a2af4007ba 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -45,15 +45,9 @@ RealtimeUpdate = { DT = document.title; $(window).blur(function() { - $('#notices_primary .notice').css({ - 'border-top-color':$('#notices_primary .notice:last').css('border-top-color'), - 'border-top-style':'dotted' - }); - - $('#notices_primary .notice:first').css({ - 'border-top-color':'#AAAAAA', - 'border-top-style':'solid' - }); + $('#notices_primary .notice').removeClass('mark-top'); + + $('#notices_primary .notice:first').addClass('mark-top'); RealtimeUpdate._updatecounter = 0; document.title = DT;