summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-27 13:21:28 +0200
committerSarven Capadisli <csarven@status.net>2009-09-27 13:21:28 +0200
commitdb9bc253cb3da1af41894f073e8aeebc265c876b (patch)
tree32ab162e53f473c079c2704ee7c0476231915922
parent81aada21447b7561e759886b327aa7798a490bb2 (diff)
parent2b6dfbdf2b9df0992018f8df1f54b4cf16185599 (diff)
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.9.x
-rw-r--r--plugins/Realtime/realtimeupdate.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 57fe0a843..a31565177 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -113,19 +113,19 @@ RealtimeUpdate = {
addPopup: function(url, timeline, iconurl)
{
- $('#site_nav_local_views .current a').append('<button id="realtime_timeline" title="Real-time pop window">&#8599;</button>');
+ $('#content').prepend('<button id="realtime_timeline" title="Realtime window">Realtime</button>');
$('#realtime_timeline').css({
- 'margin':'2px 0 0 11px',
- 'background':'transparent url('+ iconurl + ') no-repeat 45% 45%',
- 'text-indent':'-9999px',
- 'width':'16px',
- 'height':'16px',
- 'padding':'0',
+ 'margin':'0 0 18px 0',
+ 'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
+ 'padding':'0 0 0 20px',
'display':'block',
'float':'right',
'border':'none',
- 'cursor':'pointer'
+ 'cursor':'pointer',
+ 'color':$("a").css("color"),
+ 'font-weight':'bold',
+ 'font-size':'1em'
});
$('#realtime_timeline').click(function() {