ソースを参照

After posting we scroll to the bottom without waiting for the new post to be fetched. Fixes issue #28.

pull/30/head
Anonymous 8年前
コミット
8d251cadf1
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      js/ajax.js

+ 1
- 1
js/ajax.js ファイルの表示

@@ -94,7 +94,7 @@ $(window).ready(function() {
highlightReply(post_response.id); highlightReply(post_response.id);
window.location.hash = post_response.id; window.location.hash = post_response.id;
$(window).scrollTop($('div.post#reply_' + post_response.id).offset().top);
$(window).scrollTop($(document).height());
$(form).find('input[type="submit"]').val(submit_txt); $(form).find('input[type="submit"]').val(submit_txt);
$(form).find('input[type="submit"]').removeAttr('disabled'); $(form).find('input[type="submit"]').removeAttr('disabled');


読み込み中…
キャンセル
保存