diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-10 14:56:19 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-10 16:46:10 +0200 |
commit | ab3342171fba016b0c5f19b860336ed49a08f3fb (patch) | |
tree | 8a1d6c72fccca64da68ae74eaf046e91d227ce8d /static/user | |
parent | Add srfi-64 util. (diff) | |
download | calp-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 '')
-rw-r--r-- | static/user/user-additions.js | 2 |
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 */ |