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 f98cce3 commit 92c8df2Copy full SHA for 92c8df2
ReplyTo/js/replyto.js
@@ -7,7 +7,7 @@ jQuery(document).ready(function($) {
7
//If view is not flat, reload a page to rebuild a tree
8
function reloadPage() {
9
var currentView = param(window.location.href, 'view');
10
- return (currentView == 'tree' || currentView == 'threaded');
+ return currentView == 'threaded';
11
}
12
13
$(document).on('click','a.ReplyComment', function(ev) {
@@ -48,7 +48,9 @@ jQuery(document).ready(function($) {
48
} else {
49
$(cancelReplyButton).show();
50
51
- $(form)[0].scrollIntoView();
+
52
+ var ScrollY = $(form).offset().top - 100;
53
+ $('html,body').animate({scrollTop: ScrollY}, 800);
54
return false;
55
});
56
0 commit comments