debounce upload clicks just in case
This commit is contained in:
parent
3b974ed6a3
commit
fdba92fddb
|
@ -151,6 +151,7 @@ function removeFile(name) {
|
|||
|
||||
function beginUpload() {
|
||||
if (files.length === 0 || files.length > MAX_FILES) { return; }
|
||||
if (socket && socket.readyState !== 3) { return; }
|
||||
|
||||
fileIndex = 0;
|
||||
byteIndex = 0;
|
||||
|
|
Loading…
Reference in a new issue