Fixing Blogger Comments Reply Button Scroll to Top Bug

Feb 2, 2014 / Share
For almost a week now, clicking the Reply button on Blogger's comments sends the page to the top. This bug discouraged my readers from typing in their comments.

Fixing Blogger Comments Reply Button Scroll to Top Bug

Thankfully, I managed to find a quick fix for this problem. Just two lines of code that prevents the page from scrolling to the top when you click that Reply button.

Here's how to fix it:

In your blog template, search for this code:

replyParent = commentId;

Then, right after that line, paste this code:

var x = document.getElementById(commentId);
x.scrollIntoView();

Save your template and the problem should be fixed now.
  1. A man can get discouraged many times but he is not a failure until he begins to blame somebody else and stops trying. See the link below for more info.


    #discouraged
    www.ufgop.org

    ReplyDelete
  2. A well-worn maxim in playing says you should to} assume appears to be} mendacity to you at all times. This rule additionally appears to use to debates about 카지노 사이트 online sports betting. Another tactic to make use of is to explain the enterprise aspect of playing. For instance, Las Vegas casinos keep in enterprise by making more money than they pay out.

    ReplyDelete