flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject svn commit: r1671911 - /flex/site/trunk/content/js/showcase.js
Date Tue, 07 Apr 2015 18:22:56 GMT
Author: bigosmallm
Date: Tue Apr  7 18:22:56 2015
New Revision: 1671911

URL: http://svn.apache.org/r1671911
Log:
anchor tag fix

Modified:
    flex/site/trunk/content/js/showcase.js

Modified: flex/site/trunk/content/js/showcase.js
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/js/showcase.js?rev=1671911&r1=1671910&r2=1671911&view=diff
==============================================================================
--- flex/site/trunk/content/js/showcase.js (original)
+++ flex/site/trunk/content/js/showcase.js Tue Apr  7 18:22:56 2015
@@ -16,7 +16,7 @@ function addShowcaseEntry(props) {
     var i;
 
     // TITLE
-    var entry = '<a href="#' + props.index + '"><div class="headline"><h4>'
+ props.title + '</h4></div></a>' +
+    var entry = '<a href="' + window.location + "/#" + props.index + '"><div class="headline"><h4>'
+ props.title + '</h4></div></a>' +
         ' <ul class="arrow_list">' +
         '<li><span class="sc_header">Summary:</span>&nbsp;&nbsp;'
+ props.description + '  </li>' +
         '<li><span class="sc_header">Author:</span>&nbsp;&nbsp;'
+ props.author + ' </li>';



Mime
View raw message