From: Sarven Capadisli Date: Wed, 11 Nov 2009 12:34:22 +0000 (+0000) Subject: Set window resize before openning it up X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af4a54b1674ae118afcc88c03bab93d47208b6f8;p=quix0rs-gnu-social.git Set window resize before openning it up --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index ebe94ca417..c7ba2c531c 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -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%'});