ajax.js: remove old oekaki cruft; vichan-devel#20

This commit is contained in:
czaks 2014-01-29 23:32:22 +01:00
parent 0aa76587ce
commit 9fa9734765

View File

@ -21,7 +21,7 @@ $(window).ready(function() {
var setup_form = function($form) { var setup_form = function($form) {
$form.submit(function() { $form.submit(function() {
if (do_not_ajax || $("#confirm_oekaki").is(":checked")) if (do_not_ajax)
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();