MCPcopy Create free account
hub / github.com/Hattorius/CipherDrop / stopProgress

Function stopProgress

frontend/file.js:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33const stopProgress = () => {
34 clearInterval(intervalId);
35 setTimeout(() => {
36 state = 0;
37 currentProgress = 0;
38 }, 350);
39 loader.classList.add('hidden');
40}
41
42button.addEventListener('click', () => {
43 if (file !== null) {

Callers 1

errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected