diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-11 12:21:27 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-11 12:21:27 +0000 |
commit | d6cd083946be96bcfc64329fc0bfdd28261c82ef (patch) | |
tree | a39ee1415987ed15f8deef7036305a9d0a928d8c | |
parent | 0d8e9faaa182c4923eec6d329773516e81c7edf9 (diff) |
Using mark-top styles
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index ca6ea891a..a2af4007b 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; |