can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r18734: LJSUP-8433: There are no scrolls in a op...

Committer: dpetrov
LJSUP-8433: There are no scrolls in a open window
U   trunk/htdocs/js/share.js
Modified: trunk/htdocs/js/share.js
===================================================================
--- trunk/htdocs/js/share.js	2011-03-30 02:23:54 UTC (rev 18733)
+++ trunk/htdocs/js/share.js	2011-03-30 03:52:27 UTC (rev 18734)
@@ -216,7 +216,7 @@
 		{
 			togglePopup( false );
 			ev.preventDefault();
-			window.open(this.href, 'sharer', 'toolbar=0,status=0,width=640,height=300');
+			window.open(this.href, 'sharer', 'toolbar=0,status=0,width=640,height=480,scrollbars=yes,resizable=yes');
 		} );
 	}
 
@@ -318,7 +318,7 @@
 				link.each( function() {
 					var url = supplant( serviceObj.bindLink, options );
 					$( this ).click( function( ev ) {
-						window.open( url, 'sharer', 'toolbar=0,status=0,width=640,height=300');
+						window.open( url, 'sharer', 'toolbar=0,status=0,width=640,height=480,scrollbars=yes,resizable=yes');
 						ev.preventDefault();
 					} );
 				} );

Tags: can3p, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments