mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 17:31:00 +01:00
Stop double posting AJAX bug
This commit is contained in:
parent
9dd8cb141c
commit
3b9be5c161
@ -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'));
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user