You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2014/04/17 18:22:01 UTC

svn commit: r1588302 - /jena/site/trunk/content/js/breadcrumbs.js

Author: rvesse
Date: Thu Apr 17 16:22:01 2014
New Revision: 1588302

URL: http://svn.apache.org/r1588302
Log:
Don't display breadcrumbs on SSL homepage (JENA-665, JENA-680)

Modified:
    jena/site/trunk/content/js/breadcrumbs.js

Modified: jena/site/trunk/content/js/breadcrumbs.js
URL: http://svn.apache.org/viewvc/jena/site/trunk/content/js/breadcrumbs.js?rev=1588302&r1=1588301&r2=1588302&view=diff
==============================================================================
--- jena/site/trunk/content/js/breadcrumbs.js (original)
+++ jena/site/trunk/content/js/breadcrumbs.js Thu Apr 17 16:22:01 2014
@@ -6,7 +6,7 @@ $(document).ready(function() {
 	var prefix = 'http://' + location.host + '/';
 	var sslPrefix = 'https://' + location.host + '/';
 
-	if(url != prefix && url != prefix + 'index.html'){
+	if(url != prefix && url != prefix + 'index.html' && url != sslPrefix && url != sslPrefix + 'index.html'){
 
 		var shortForm = url.replace(prefix, '').replace(sslPrefix, '').replace(/(index)?\.html/g, '').replace(/#.*/g, '');