Regression fixed

parent 0d4bd057
...@@ -1120,10 +1120,10 @@ ...@@ -1120,10 +1120,10 @@
// Panel and content will be shown after 5 seconds when video starts playing // Panel and content will be shown after 5 seconds when video starts playing
console.log('RESULTS TEMPLATE: Waiting for results data to be received via WebChannel signals'); console.log('RESULTS TEMPLATE: Waiting for results data to be received via WebChannel signals');
// Fallback: show test results after 10 seconds if no data received via signals // Fallback: show test results after 5 seconds if no data received via signals
setTimeout(() => { setTimeout(() => {
if (!contentVisible) { if (!contentVisible) {
console.log('RESULTS TEMPLATE: Fallback - No data received after 10 seconds, showing test results'); console.log('RESULTS TEMPLATE: Fallback - No data received after 5 seconds, showing test results');
// Set test data // Set test data
currentMainResult = 'WIN1'; currentMainResult = 'WIN1';
currentUnderOverResult = 'OVER'; currentUnderOverResult = 'OVER';
...@@ -1139,7 +1139,7 @@ ...@@ -1139,7 +1139,7 @@
updateCombinedResultDisplay(); updateCombinedResultDisplay();
updateWinningBetsDisplay(); updateWinningBetsDisplay();
} }
}, 10000); }, 5000);
}); });
// Setup WebChannel communication (wait for overlay.js to set up WebChannel) // Setup WebChannel communication (wait for overlay.js to set up WebChannel)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment