Stop double posting AJAX bug

This commit is contained in:
8chan 2014-11-08 16:56:41 -08:00 committed by czaks
parent 61371f77ce
commit 4083c92dbe

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'));
});
});