From 5f508f548e4258fcb3d205ba934c594eecb909f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sat, 4 Jan 2025 11:11:45 +0100 Subject: [PATCH] fix mobile image handling --- js/ct-events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ct-events.js b/js/ct-events.js index 2ab0900..0e81047 100644 --- a/js/ct-events.js +++ b/js/ct-events.js @@ -32,7 +32,7 @@ const AppointmentLinkify = { var AppointmentImage = { view: function(vnode) { const {item, settings} = vnode.attrs; - const image_url = item.base.image?.fileUrl ?? (is_mobile ? default_image_mobile : null) ?? settings.default_image; + const image_url = item.base.image?.fileUrl ?? (is_mobile ? settings.default_image_mobile : null) ?? settings.default_image; let img = image_url ? m( "img",