Stop double posting AJAX bug
This commit is contained in:
parent
61371f77ce
commit
4083c92dbe
@ -141,6 +141,7 @@ $(window).ready(function() {
|
|||||||
};
|
};
|
||||||
setup_form($('form[name="post"]'));
|
setup_form($('form[name="post"]'));
|
||||||
$(window).on('quick-reply', function() {
|
$(window).on('quick-reply', function() {
|
||||||
|
$('form#quick-reply').off('submit');
|
||||||
setup_form($('form#quick-reply'));
|
setup_form($('form#quick-reply'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user