Browse Source

Change scroll top value

Fechin 8 years ago
parent
commit
d0d033beb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/js/diaspora.js

+ 1 - 1
source/js/diaspora.js

@@ -521,7 +521,7 @@ $(function() {
                 a.setAttribute("data-url", url);
                 DUOSHUO.EmbedThread(a);
                 $(".comment").html(a);
-                $('html,body').animate({scrollTop: document.body.scrollHeight},"slow");
+                $('html,body').animate({scrollTop: document.body.scrollHeight - 30},"slow");
                 Diaspora.loaded();
             };
             window.DUOSHUO ? f() : $.getScript("http://static.duoshuo.com/embed.js",