Author: marcus
Date: Sat Jun 21 22:10:48 2014
New Revision: 1604473

URL: http://svn.apache.org/r1604473
Log:
Added white-spaces

Modified:
    openoffice/ooo-site/trunk/content/download/test/index.html

Modified: openoffice/ooo-site/trunk/content/download/test/index.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index.html?rev=1604473&r1=1604472&r2=1604473&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Sat Jun 21 
22:10:48 2014
@@ -46,15 +46,15 @@
 
     function share( platform ) {
       _gaq.push( ['_trackEvent', 'social', 'shareDownload', platform] ); 
-        if ( platform == 'blog' ) {
-          window.open( 'http://blogs.apache.org/OOo/', '_blank' );
-        } else if ( platform == 'facebook' ) {
-          window.open( 
'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
-        } else if ( platform == 'twitter' ) {
-          window.open( 
'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
-        } else if ( platform == 'google+' ) {
-          window.open( 
'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
-        }
+
+      if ( platform == 'apacheblog' )
+        window.open( 'http://blogs.apache.org/OOo/', '_blank' );
+      else if ( platform == 'facebook' )
+        window.open( 
'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      else if ( platform == 'twitter' )
+        window.open( 
'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
+      else if ( platform == 'google+' )
+        window.open( 
'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F',
 '_blank', 'toolbar=0, status=0, width=580, height=325' );
     }
 
   </script>


Reply via email to