From 4083c92dbe641f81c1b92fa33dd111199d5654b0 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sat, 8 Nov 2014 16:56:41 -0800 Subject: [PATCH] Stop double posting AJAX bug --- js/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ajax.js b/js/ajax.js index 61d83df2..663f4426 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -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')); }); });