]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Set window resize before openning it up
authorSarven Capadisli <csarven@status.net>
Wed, 11 Nov 2009 12:34:22 +0000 (12:34 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 11 Nov 2009 12:34:22 +0000 (12:34 +0000)
plugins/Realtime/realtimeupdate.js

index ebe94ca417e3397d7650a415ad61ceec9ffbf158..c7ba2c531c01e25378f53c45b4cb1d06758232e6 100644 (file)
@@ -180,7 +180,7 @@ RealtimeUpdate = {
          RT.click(function() {
              window.open(url,
                          timeline,
-                         'toolbar=no,resizable=yes,scrollbars=yes,status=yes');
+                         'toolbar=no,resizable=yes,scrollbars=yes,status=yes,width=500,height=550');
 
              return false;
          });
@@ -188,7 +188,6 @@ RealtimeUpdate = {
 
      initPopupWindow: function()
      {
-         window.resizeTo(500, 550);
          $('address').hide();
          $('#content').css({'width':'93.5%'});