aboutsummaryrefslogtreecommitdiff
path: root/static/clock.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/clock.ts')
-rw-r--r--static/clock.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/clock.ts b/static/clock.ts
index 9171b8a8..a2d22e00 100644
--- a/static/clock.ts
+++ b/static/clock.ts
@@ -110,7 +110,7 @@ customElements.define('today-button', TodayButton)
class CurrentTime extends ClockElement {
update(now: Date) {
- this.innerHTML = now.format('~H:~M:~S')
+ this.textContent = now.format('~H:~M:~S')
}
}
customElements.define('current-time', CurrentTime)