forked from GNUsocial/gnu-social
Relocated the button for pop up window for notice stream
This commit is contained in:
parent
267ab67c83
commit
d9e7118a33
@ -125,14 +125,17 @@ RealtimeUpdate = {
|
|||||||
|
|
||||||
addPopup: function(url, timeline, iconurl)
|
addPopup: function(url, timeline, iconurl)
|
||||||
{
|
{
|
||||||
$('#content').prepend('<button id="realtime_timeline" title="Pop up in a window">Pop up</button>');
|
$('#notices_primary').css({'position':'relative'});
|
||||||
|
$('#notices_primary').prepend('<button id="realtime_timeline" title="Pop up in a window">Pop up</button>');
|
||||||
|
|
||||||
$('#realtime_timeline').css({
|
$('#realtime_timeline').css({
|
||||||
'margin':'0 0 18px 0',
|
'margin':'0 0 11px 0',
|
||||||
'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
|
'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
|
||||||
'padding':'0 0 0 20px',
|
'padding':'0 0 0 20px',
|
||||||
'display':'block',
|
'display':'block',
|
||||||
'float':'right',
|
'position':'absolute',
|
||||||
|
'top':'-20px',
|
||||||
|
'right':'0',
|
||||||
'border':'none',
|
'border':'none',
|
||||||
'cursor':'pointer',
|
'cursor':'pointer',
|
||||||
'color':$("a").css("color"),
|
'color':$("a").css("color"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user