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:
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