(pct)
| 33 | |
| 34 | function setStatus(msg) { $("flash-status").textContent = msg; } |
| 35 | function setProgress(pct) { |
| 36 | $("flash-bar").style.width = pct + "%"; |
| 37 | $("flash-pct").textContent = Math.round(pct) + "%"; |
| 38 | } |
| 39 | |
| 40 | function waitForConfirm() { |
| 41 | return new Promise((resolve) => { |
no test coverage detected