From 6f6a2cda9b57a7662a4a4d84799ed766ecbbbc73 Mon Sep 17 00:00:00 2001 From: maurofmferrao Date: Thu, 2 Jan 2025 12:04:33 +0000 Subject: [PATCH] Display page: Thumb modal fix 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() {