Author: marcus
Date: Sat May 3 11:42:31 2014
New Revision: 1592185
URL: http://svn.apache.org/r1592185
Log:
Renamed function to 'isLangSupported()' to reflect its purpose better
Modified:
openoffice/ooo-site/trunk/content/download/test/index_droplist.html
Modified: openoffice/ooo-site/trunk/content/download/test/index_droplist.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index_droplist.html?rev=1592185&r1=1592184&r2=1592185&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index_droplist.html
(original)
+++ openoffice/ooo-site/trunk/content/download/test/index_droplist.html Sat May
3 11:42:31 2014
@@ -56,7 +56,7 @@ screen reader. -->
// Get the download link (1 = Stable Release).
var dl_link = getLink( 1 );
// Does the browser language match with AOO languages?
- if ( hasMirrorLink() ) {
+ if ( isLangSupported() ) {
if ( SOURCEFORGE ) {
// If download link contains "sourceforge" (-> normal and correct
download link),
// offer download link from Sourceforge with displayed platform and
language.
@@ -240,7 +240,7 @@ screen reader. -->
// Get the download link (1 = Beta Release).
var dl_link = getLink( 1 );
// Does the browser language match with AOO languages?
- if ( hasMirrorLink() ) {
+ if ( isLangSupported() ) {
if ( SOURCEFORGE ) {
// If download link contains "sourceforge" (-> normal and correct
download link),
// offer download link from Sourceforge with displayed platform and
language.