From b521d1863aaf754978ce797b5d6693a5d6ac46d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Ferr=C3=A3o?= Date: Mon, 6 Jan 2025 14:42:28 +0000 Subject: [PATCH] Display page: Thumb modal fix (#2843) relates to xibosignageltd/xibo-private#885 --- ui/src/core/xibo-cms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/core/xibo-cms.js b/ui/src/core/xibo-cms.js index 22743ce564..cec10ca10a 100644 --- a/ui/src/core/xibo-cms.js +++ b/ui/src/core/xibo-cms.js @@ -39,7 +39,7 @@ if (!String.prototype.endsWith) { } // Set up the light boxes -$(document).on('*[data-toggle="lightbox"]', 'click', function(event) { +$(document).on('click', '*[data-toggle="lightbox"]', function(event) { event.preventDefault(); $(event.currentTarget).ekkoLightbox({ onContentLoaded: function() {