com web/php: Halfed the scroll time for TOC comments. It caused a stutter in the scroll on many pages. The faster scroll seems to eliminate the
problem.: js/common.js

From: Date: Mon, 11 Jun 2012 21:43:27 +0000
Subject: com web/php: Halfed the scroll time for TOC comments. It caused a stutter in the scroll on many pages. The faster scroll seems to eliminate the
problem.: js/common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13675@lists.php.net to get a copy of this message
Commit: b6894f931a5f0dc4a11abfcc1d3e2c2d3dedbfbf Author: Levi Morrison <levim@php.net> Mon, 11 Jun 2012 15:43:27 -0600 Parents: 6dae2828befc5358da8c6dd559776955eb9cb23c Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=b6894f931a5f0dc4a11abfcc1d3e2c2d3dedbfbf Log: Halfed the scroll time for TOC comments. It caused a stutter in the scroll on many pages. The faster scroll seems to eliminate the problem. Changed paths: M js/common.js Diff: diff --git a/js/common.js b/js/common.js index c0e4533..79f236a 100644 --- a/js/common.js +++ b/js/common.js @@ -219,7 +219,7 @@ $(document).ready(function() { jQuery.getScript("/js/jquery.scrollto.min.js", function(){ l.delegate("a.toc_item","click keypress", function(e) { // Escape dots in ids so they won't be treated as class selectors - $.scrollTo($(this).attr("href").replace(".", "\\\."), 800); + $.scrollTo($(this).attr("href").replace(".", "\\\."), 400); }); });

« previous php.webmaster (#13675) next »