We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b728e commit 98641f0Copy full SHA for 98641f0
js/common.js
@@ -368,7 +368,7 @@ $(document).ready(function () {
368
function findParameter(elt) {
369
var id = $(elt).text().replace(/^&?(\.\.\.)?\$?/g, '');
370
return $('.parameters, .options').find('.parameter').filter(function () {
371
- return $(elt).text().trim() === id; // https://bugs.php.net/bug.php?id=74493
+ return $(this).text().trim() === id; // https://bugs.php.net/bug.php?id=74493
372
}).first();
373
}
374
@@ -383,7 +383,7 @@ $(document).ready(function () {
383
var param = findParameter(this);
384
if (param.length) {
385
$.scrollTo({
386
- top: param.offset().top - 52,
+ top: param.offset().top,
387
left: 0
388
}, 400);
389
0 commit comments