From ab3342171fba016b0c5f19b860336ed49a08f3fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 10 Jul 2022 14:56:19 +0200 Subject: 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. --- static/user/user-additions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/user') 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
tags */ -- cgit v1.2.3