forked from leftypol/leftypol
Stop double posting AJAX bug
This commit is contained in:
parent
61371f77ce
commit
4083c92dbe
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue