1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +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 b2c0901890
commit 07343e89ca

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