incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1332460 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
Date Mon, 30 Apr 2012 23:00:04 GMT
Author: kschenk
Date: Mon Apr 30 23:00:04 2012
New Revision: 1332460

URL: http://svn.apache.org/viewvc?rev=1332460&view=rev
Log:
kls -- hmmm...well magic happens ... eventually

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

Modified: incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js?rev=1332460&r1=1332459&r2=1332460&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js Mon Apr 30 23:00:04
2012
@@ -459,7 +459,7 @@ function apache_getLink(version, schema)
  * independant from mirror-system
  */
 function getPlatform() {
-	if ( navigator.platform != null ||  navigator.platform != "" ) {
+	if ( navigator.platform != null &&  String(navigator.platform) != "" ) {
 		if ( navigator.platform.indexOf( "Win32" ) != -1 ) {
 			return "Windows";
 		} else if ( navigator.platform.indexOf( "Win64" ) != -1 ) {



Mime
View raw message