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

[email protected] (Hannes Magnusson)
Newsgroups php.webmaster
Message-ID <[email protected]>
bjori                                    Sat, 01 Jan 2011 22:29:18 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306968

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

Changed paths:
    U   web/php/trunk/js/common.js

Modified: web/php/trunk/js/common.js
===================================================================
--- web/php/trunk/js/common.js	2011-01-01 22:05:35 UTC (rev 306967)
+++ web/php/trunk/js/common.js	2011-01-01 22:29:18 UTC (rev 306968)
@@ -173,7 +173,7 @@
         $(".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);
                 });
             }
         });
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.