From 07343e89ca8244e8f543c9a9326eb7d678067075 Mon Sep 17 00:00:00 2001 From: czaks Date: Thu, 16 Jan 2014 21:52:09 +0100 Subject: [PATCH] ajax.js and oekaki.js interaction: fix as suggested by Yahav @ #tinyboard --- js/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ajax.js b/js/ajax.js index 9f340e90..6bc7388f 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -20,7 +20,7 @@ $(window).ready(function() { var setup_form = function($form) { $form.submit(function() { - if (do_not_ajax) + if (do_not_ajax || $("#confirm_oekaki").is(":checked")) return true; var form = this; var submit_txt = $(this).find('input[type="submit"]').val();