Update app.py
Browse files
app.py
CHANGED
|
@@ -2182,7 +2182,7 @@ def create_enhanced_demo_interface():
|
|
| 2182 |
const minutes = Math.floor(diff / 60);
|
| 2183 |
const seconds = diff % 60;
|
| 2184 |
document.getElementById('live-timer').textContent =
|
| 2185 |
-
|
| 2186 |
}}
|
| 2187 |
setInterval(updateTimer, 1000);
|
| 2188 |
updateTimer();
|
|
|
|
| 2182 |
const minutes = Math.floor(diff / 60);
|
| 2183 |
const seconds = diff % 60;
|
| 2184 |
document.getElementById('live-timer').textContent =
|
| 2185 |
+
minutes.toString().padStart(2, '0') + ':' + seconds.toString().padStart(2, '0');
|
| 2186 |
}}
|
| 2187 |
setInterval(updateTimer, 1000);
|
| 2188 |
updateTimer();
|