mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 12:33:45 +01:00
re-disable button during loading
This commit is contained in:
@@ -92,6 +92,7 @@ function read_file () {
|
|||||||
|
|
||||||
filereader.onload = function () {
|
filereader.onload = function () {
|
||||||
document.getElementById("submit").innerHTML = '<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span><span class="visually-hidden">Loading...</span>';
|
document.getElementById("submit").innerHTML = '<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span><span class="visually-hidden">Loading...</span>';
|
||||||
|
document.getElementById("submit").disabled = true;
|
||||||
|
|
||||||
const file = file_input.files[0];
|
const file = file_input.files[0];
|
||||||
let file_type;
|
let file_type;
|
||||||
|
|||||||
Reference in New Issue
Block a user