You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/03/31 07:31:48 UTC
svn commit: r1009454 [2/2] - in /websites/production/struts/content: ./ css/
getting-started/
Modified: websites/production/struts/content/youatstruts.html
==============================================================================
--- websites/production/struts/content/youatstruts.html (original)
+++ websites/production/struts/content/youatstruts.html Fri Mar 31 07:31:46 2017
@@ -219,12 +219,12 @@ more information how you can help us.</p
<script>
$(function() {
return $("h2, h3, h4, h5, h6").each(function(i, el) {
- var $el, icon, id;
+ var $el, id;
$el = $(el);
id = $el.attr('id');
- icon = '<i class="fa fa-link"></i>';
if (id) {
- return $el.prepend($("<a />").addClass("header-link").attr("href", "#" + id).html(icon));
+ $el.removeAttr('id');
+ return $el.before($("<a />").addClass('anchor').attr('name', id));
}
});
});