diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-07-25 15:30:07 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2025-07-25 15:30:07 +0200 |
| commit | 08e4a27c0db7fc2867cce3eb6f80799148c03ba6 (patch) | |
| tree | 9cf8636933099a550b02b281b6a885b7f3a7bf37 /app/static/custom.js | |
| parent | 040a3a894e0816596532d7f7430baa4a5524f67b (diff) | |
Moved to a mobile friendly CSS framework
Diffstat (limited to 'app/static/custom.js')
| -rw-r--r-- | app/static/custom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/static/custom.js b/app/static/custom.js index 1d36493..2c47448 100644 --- a/app/static/custom.js +++ b/app/static/custom.js @@ -3,7 +3,7 @@ let timerRunningFlag = Number(sessionStorage.getItem("timerRunningFlag")) || 0; let deadline = Number(sessionStorage.getItem("deadline")) || new Date().getTime();
let clock = 0;
-function setTimer(m, s) {
+window.onload += function setTimer(m, s) {
let timer = document.getElementById("timer-display");
m = m < 10 ? ("0" + m) : m;
s = s < 10 ? ("0" + s) : s;
|
