From 16aad96ae6c0763a50c95494472ef8d4858138d8 Mon Sep 17 00:00:00 2001 From: shlomomdahan <64103471+shlomomdahan@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:52:27 -0400 Subject: [PATCH] fix: Update jQuery filter removal syntax for 3.x compatibility --- src/main/webapp/js/jquery.fancybox-1.3.4.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/jquery.fancybox-1.3.4.js b/src/main/webapp/js/jquery.fancybox-1.3.4.js index 55c08ddb..b1667fcd 100644 --- a/src/main/webapp/js/jquery.fancybox-1.3.4.js +++ b/src/main/webapp/js/jquery.fancybox-1.3.4.js @@ -577,8 +577,8 @@ _finish = function () { if (!$.support.opacity) { - content.get(0).style.removeAttribute('filter'); - wrap.get(0).style.removeAttribute('filter'); + content.css('filter', ''); + wrap.css('filter', ''); } if (selectedOpts.autoDimensions) {