1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

ajax.js and oekaki.js interaction: fix as suggested by Yahav @ #tinyboard

This commit is contained in:
czaks 2014-01-16 21:52:09 +01:00
parent edad6db70d
commit 911ecc80de

View File

@ -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();