1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +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) { var setup_form = function($form) {
$form.submit(function() { $form.submit(function() {
if (do_not_ajax) if (do_not_ajax || $("#confirm_oekaki").is(":checked"))
return true; return true;
var form = this; var form = this;
var submit_txt = $(this).find('input[type="submit"]').val(); var submit_txt = $(this).find('input[type="submit"]').val();