Commit:    e3dd450298d08a47235fc76e57e002f756234b4b
Author:    Hannes Magnusson <[email protected]>         Sat, 1 Jan 2011 22:29:18 
+0000
Parents:   10e851c04f70b69696f04a6eff6f07004f617f8a
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=e3dd450298d08a47235fc76e57e002f756234b4b

Log:
No idea why $(param).scrollTo() isn't working.. but this works atleast

Changed paths:
  M  js/common.js


Diff:
diff --git a/js/common.js b/js/common.js
index a309b92..399a615 100644
--- a/js/common.js
+++ b/js/common.js
@@ -173,7 +173,7 @@ $(document).ready(function() {
         $(".parameters .term i > tt.parameter").each(function (idx, param) {
             if ($(param).text() == $(node).text().substring(1)) {
                 $(node).click(function() {
-                    $(param).scrollTo(0, 800);
+                    $.scrollTo($(param), 800);
                 });
             }
         });


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to