Parcourir la source

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

pull/30/head
Anonymous il y a 8 ans
Parent
révision
8d251cadf1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      js/ajax.js

+ 1
- 1
js/ajax.js Voir le fichier

@@ -94,7 +94,7 @@ $(window).ready(function() {
highlightReply(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"]').removeAttr('disabled');


Chargement…
Annuler
Enregistrer