You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2013/06/08 21:22:14 UTC

svn commit: r1491040 - /openoffice/ooo-site/trunk/content/download/test/download.js

Author: marcus
Date: Sat Jun  8 19:22:14 2013
New Revision: 1491040

URL: http://svn.apache.org/r1491040
Log:
Testing new filename + directory structure for AOO 4

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

Modified: openoffice/ooo-site/trunk/content/download/test/download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download.js?rev=1491040&r1=1491039&r2=1491040&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download.js Sat Jun  8 19:22:14 2013
@@ -184,7 +184,7 @@ function getPlatform() {
 				EXTENSION	= ".tar.gz";
 				if ( navigator.userAgent.toLowerCase().indexOf( "debian" )    != -1 ||
 				     navigator.userAgent.toLowerCase().indexOf( "ubuntu" )    != -1 ||
-				     navigator.userAgent.toLowerCase().indexOf( "iceweasel") != -1 ) {
+				     navigator.userAgent.toLowerCase().indexOf( "iceweasel" ) != -1 ) {
 					UI_PLATFORM	= "Linux Debian 64-bit (DEB)";
 					PLATFORM	= "Linux_x86-64_install-deb";
 					EXTENSION	= ".tar.gz";
@@ -237,7 +237,7 @@ function getPlatform() {
 			UI_PLATFORM	= "Android mobile device";
 			PLATFORM	= "no_mirror_platform";
 			EXTENSION	= "no_extension";
-		} else if ( navigator.userAgent.toLowerCase().indexOf( "blackberry" ) !=-1 ) {
+		} else if ( navigator.userAgent.toLowerCase().indexOf( "blackberry" ) != -1 ) {
 			UI_PLATFORM	= "Blackberry mobile device";
 			PLATFORM	= "no_mirror_platform";
 			EXTENSION	= "no_extension";