1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

Stop double posting AJAX bug

This commit is contained in:
8chan 2014-11-08 16:56:41 -08:00
parent 9dd8cb141c
commit 3b9be5c161

View File

@ -141,6 +141,7 @@ $(window).ready(function() {
};
setup_form($('form[name="post"]'));
$(window).on('quick-reply', function() {
$('form#quick-reply').off('submit');
setup_form($('form#quick-reply'));
});
});