diff --git a/wp-includes/js/comment-reply.js b/wp-includes/js/comment-reply.js
index 184726d..df2bbc8 100644
a
|
b
|
var addComment = { |
14 | 14 | } |
15 | 15 | |
16 | 16 | t.respondId = respondId; |
| 17 | t.respondOffsetTop = comm.offsetTop; |
17 | 18 | postId = postId || false; |
18 | 19 | |
19 | 20 | if ( ! t.I( 'wp-temp-form-div' ) ) { |
… |
… |
var addComment = { |
44 | 45 | temp.parentNode.removeChild( temp ); |
45 | 46 | this.style.display = 'none'; |
46 | 47 | this.onclick = null; |
| 48 | scroll(0, t.respondOffsetTop); |
47 | 49 | return false; |
48 | 50 | }; |
49 | 51 | |
… |
… |
var addComment = { |
80 | 82 | continue; |
81 | 83 | } |
82 | 84 | |
| 85 | scroll(0, element.offsetTop) |
83 | 86 | element.focus(); |
84 | 87 | // Stop after the first focusable element. |
85 | 88 | break; |