We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0f53a commit 533c5faCopy full SHA for 533c5fa
1 file changed
jsTimer.js
@@ -920,11 +920,14 @@ function drawSavedTimer(timer)
920
tc.appendChild(tt);
921
tt.id = 'timer-' + timer.id + "-t";
922
923
- var tend = document.createElement("span");
924
- tc.appendChild(tend);
925
- tend.id = 'timer-' + timer.id + "-end";
926
- tend.textContent = formatDate(new Date(timer.totalSeconds*1000));
927
- //tend.style.marginLeft = '10%';
+ if (timer.totalSeconds > 0)
+ {
+ var tend = document.createElement("span");
+ tc.appendChild(tend);
+ tend.id = 'timer-' + timer.id + "-end";
928
+ tend.textContent = formatDate(new Date(timer.totalSeconds*1000));
929
+ //tend.style.marginLeft = '10%';
930
+ }
931
932
var tdel = document.createElement("div");
933
div.appendChild(tdel);
0 commit comments