summaryrefslogtreecommitdiff
path: root/tests/playback-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/playback-ui.js')
-rw-r--r--tests/playback-ui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/playback-ui.js b/tests/playback-ui.js
index 6d71714..b1f263e 100644
--- a/tests/playback-ui.js
+++ b/tests/playback-ui.js
@@ -200,6 +200,9 @@ function start() {
player.onrfbdisconnected = (evt) => {
if (!evt.detail.clean) {
message(`noVNC sent disconnected during iteration ${evt.detail.iteration} frame ${evt.detail.frame}`);
+
+ document.getElementById('startButton').disabled = false;
+ document.getElementById('startButton').value = "Start";
}
};
player.onfinish = (evt) => {