summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-11 12:21:27 +0000
committerSarven Capadisli <csarven@status.net>2009-11-11 12:21:27 +0000
commitd6cd083946be96bcfc64329fc0bfdd28261c82ef (patch)
treea39ee1415987ed15f8deef7036305a9d0a928d8c /plugins
parent0d8e9faaa182c4923eec6d329773516e81c7edf9 (diff)
Using mark-top styles
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Realtime/realtimeupdate.js12
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;