debounce upload clicks just in case

This commit is contained in:
xenofem 2022-05-03 19:39:42 -04:00
parent 3b974ed6a3
commit fdba92fddb

View file

@ -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;