mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-04-15 23:34:36 +00:00
parent
1aa61ba767
commit
8e57d52af7
@ -685,7 +685,11 @@ class UOJForm {
|
||||
} else {
|
||||
echo <<<EOD
|
||||
if (ok) {
|
||||
$("#button-submit-{$this->form_name}").addClass('disabled');
|
||||
$("#button-submit-{$this->form_name}")
|
||||
.addClass('disabled')
|
||||
.css('width', $("#button-submit-{$this->form_name}").outerWidth())
|
||||
.html('<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>');
|
||||
|
||||
$(this).submit(function () {
|
||||
return false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user