]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Relocated the button for pop up window for notice stream
authorSarven Capadisli <csarven@status.net>
Wed, 30 Sep 2009 12:48:15 +0000 (12:48 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 30 Sep 2009 12:48:15 +0000 (12:48 +0000)
plugins/Realtime/realtimeupdate.js

index 4cd68a816b2bde0fc2d2a9cbeb424accd747a4fd..3303d3a44f5c219663ae9febc32e73167ec19d50 100644 (file)
@@ -125,14 +125,17 @@ RealtimeUpdate = {
 
      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({
-             'margin':'0 0 18px 0',
+             'margin':'0 0 11px 0',
              'background':'transparent url('+ iconurl + ') no-repeat 0% 30%',
              'padding':'0 0 0 20px',
              'display':'block',
-             'float':'right',
+             'position':'absolute',
+             'top':'-20px',
+             'right':'0',
              'border':'none',
              'cursor':'pointer',
              'color':$("a").css("color"),