com web/php: Couple of more syntax things see bug#66371: js/common.js

From: Date: Tue, 31 Dec 2013 20:12:02 +0000
Subject: com web/php: Couple of more syntax things see bug#66371: js/common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17955@lists.php.net to get a copy of this message
Commit: 6ec0676fc08600c79bf150ff1c813e238098b7ac Author: Hannes Magnusson <bjori@mongodb.com> Tue, 31 Dec 2013 12:12:02 -0800 Parents: 4572e3f01374e95e8b54bad7a0626e3a356ef9aa Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=6ec0676fc08600c79bf150ff1c813e238098b7ac Log: Couple of more syntax things see bug#66371 Bugs: https://bugs.php.net/66371 Changed paths: M js/common.js Diff: diff --git a/js/common.js b/js/common.js index 53f466c..b5afc96 100755 --- a/js/common.js +++ b/js/common.js @@ -14,8 +14,9 @@ String.prototype.toInt = function() var jHtmlBody = $('html, body'); function scroll(target, interval) { - if (typeof interval == 'undefined') + if (typeof interval == 'undefined') { interval = 400; + } var hash = target; target = $('[id="' + target.substring(1) + '"]'); @@ -524,8 +525,8 @@ $(document).ready(function() { "min": -5 }; this.range = { - "max": .75, - "min": .35 + "max": 0.75, + "min": 0.35 }; // This is a generic normalizaion algorithm:

« previous php.webmaster (#17955) next »