aboutsummaryrefslogtreecommitdiff
path: root/static/components/vevent-block.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-08-01 20:28:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-08-01 20:28:00 +0200
commit568ca6a042b3246f0d22d3d9d7c504d7e4c73e68 (patch)
treef427e204c88843d4c01346cff6a4d41d78e032bd /static/components/vevent-block.ts
parentChange README to a markdown file. (diff)
downloadcalp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.gz
calp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.xz
Minor cleanup in TS files.
Diffstat (limited to 'static/components/vevent-block.ts')
-rw-r--r--static/components/vevent-block.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts
index 8cf61d30..9bbb8e7e 100644
--- a/static/components/vevent-block.ts
+++ b/static/components/vevent-block.ts
@@ -91,7 +91,7 @@ class ComponentBlock extends ComponentVEvent {
if (data.getProperty('rrule') !== undefined) {
let rep = this.getElementsByClassName('repeating')
- if (rep && rep.length !== 0) {
+ if (rep.length !== 0) {
(rep[0] as HTMLElement).innerText = '↺'
}
}