svn: /web/php/trunk/js/ common.js

From: Date: Thu, 30 Dec 2010 11:01:04 +0000
Subject: svn: /web/php/trunk/js/ common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10019@lists.php.net to get a copy of this message
bjori Thu, 30 Dec 2010 11:01:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306854 Log: quicktoc for articles/chapters too Changed paths: U web/php/trunk/js/common.js Modified: web/php/trunk/js/common.js =================================================================== --- web/php/trunk/js/common.js 2010-12-30 10:36:53 UTC (rev 306853) +++ web/php/trunk/js/common.js 2010-12-30 11:01:04 UTC (rev 306854) @@ -95,7 +95,7 @@ $($(".footmenu")[1]).append("<li><a href='" + bugurl + "'>Report bug on this page</a></li>"); var l = ""; - $(".refsect1 h3").each(function() { + $(".refsect1 h3, .sect1 h2, .sect2 h3, .sect3 h4").each(function() { var id = $(this).parent().attr("id"); l += "<li><a href='#" + id + "'>" + $(this).text() + "</a></li>"; });

« previous php.webmaster (#10019) next »