diff options
author | Sarven Capadisli <csarven@status.net> | 2009-09-27 16:10:02 +0200 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-09-27 16:10:02 +0200 |
commit | c012b278f00664470e74a0009791e8b2bca2a5e3 (patch) | |
tree | d36b8b095c3f05b09d0124ab88e0ed9b76ddb07f | |
parent | fc682ecede72680bad849ea1cf159fdf2ec70898 (diff) | |
parent | 60335fcbdf7b2ae4d27e7d413e7f5f46f61feda5 (diff) |
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.9.x
-rw-r--r-- | plugins/Realtime/realtimeupdate.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 015c00439..b5f78e416 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -14,6 +14,18 @@ RealtimeUpdate = { RealtimeUpdate._replyurl = replyurl; RealtimeUpdate._favorurl = favorurl; RealtimeUpdate._deleteurl = deleteurl; + + $(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' + }); + }); }, receive: function(data) @@ -151,7 +163,7 @@ RealtimeUpdate = { $('#form_notice label[for=notice_data-text], h1').css({'display': 'none'}); - $('.notices li:first-child').css({'border-top':'none'}); + $('.notices li:first-child').css({'border-top-color':'transparent'}); $('#form_notice label[for="notice_data-attach"], #form_notice #notice_data-attach').css({'top':'0'}); |