aboutsummaryrefslogtreecommitdiff
path: root/static/user
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-10 14:56:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-10 16:46:10 +0200
commitab3342171fba016b0c5f19b860336ed49a08f3fb (patch)
tree8a1d6c72fccca64da68ae74eaf046e91d227ce8d /static/user
parentAdd srfi-64 util. (diff)
downloadcalp-ab3342171fba016b0c5f19b860336ed49a08f3fb.tar.gz
calp-ab3342171fba016b0c5f19b860336ed49a08f3fb.tar.xz
Change JS formatters interface.
Now the application of formatters are centralized. It also allowed me to easily suround stuff in try-catch, since I otherwise had problems with formatters failing, and nothing showing up.
Diffstat (limited to 'static/user')
-rw-r--r--static/user/user-additions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/user/user-additions.js b/static/user/user-additions.js
index 7291f232..bfc0391d 100644
--- a/static/user/user-additions.js
+++ b/static/user/user-additions.js
@@ -1,4 +1,4 @@
-window.formatters.set('description', (el, ev, d) => {
+window.formatters.set('description', async (el, ev, d) => {
if (ev.getProperty('X-MICROSOFT-SKYPETEAMSMEETINGURL')) {
/* parse Microsoft Teams meeting entries */
/* Replace lines with propper <hr> tags */