com web/php: Fixed a logical error I made a while back. You had to click twice instead of ocne to scroll to a parameter's definition.: js/common.js
| From: | Levi Morrison | Date: | Mon, 11 Jun 2012 19:05:21 +0000 |
| Subject: | com web/php: Fixed a logical error I made a while back. You had to click twice instead of ocne to scroll to a parameter's definition.: js/common.js | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13663@lists.php.net to get a copy of this message | ||
Commit: 3e506b07196dc2547989e92247140afbf88aa6d5
Author: Levi Morrison <levim@php.net> Mon, 11 Jun 2012 13:05:21 -0600
Parents: 9d9c0a6b19200ed06fc51c718a6f2745af42be25
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=3e506b07196dc2547989e92247140afbf88aa6d5
Log:
Fixed a logical error I made a while back.. You had to click twice instead of ocne to scroll to a
parameter's definition.
Changed paths:
M js/common.js
Diff:
diff --git a/js/common.js b/js/common.js
index 9576f56..54bd1c3 100644
--- a/js/common.js
+++ b/js/common.js
@@ -235,7 +235,7 @@ $(document).ready(function() {
$docsDivWithId.children("h1, h2, h3, h4").each(function(){
$(this).append("<a class='genanchor' href='#" +
$(this).parent()..attr("id") + "'> ¶</a>");
});
- $docs.find(".methodparam ..parameter").click(function () {
+ $docs.find(".methodparam .parameter").each(function () {
var $node = $(this);
$(".parameters .term .parameter").each(function (idx, param) {
var $param = $(param);