summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/stopwatch.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/stopwatch.js')
-rw-r--r--web_src/js/features/stopwatch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/stopwatch.js b/web_src/js/features/stopwatch.js
index ed20ca3227..d664f0d5f2 100644
--- a/web_src/js/features/stopwatch.js
+++ b/web_src/js/features/stopwatch.js
@@ -48,7 +48,7 @@ export async function initStopwatch() {
} else if (event.data.type === 'error') {
console.error(event.data);
} else if (event.data.type === 'logout') {
- if (event.data !== 'here') {
+ if (event.data.data !== 'here') {
return;
}
worker.port.postMessage({