Skip to content

Commit 16aad96

Browse files
committed
fix: Update jQuery filter removal syntax for 3.x compatibility
1 parent 89f151b commit 16aad96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/webapp/js/jquery.fancybox-1.3.4.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@
577577

578578
_finish = function () {
579579
if (!$.support.opacity) {
580-
content.get(0).style.removeAttribute('filter');
581-
wrap.get(0).style.removeAttribute('filter');
580+
content.css('filter', '');
581+
wrap.css('filter', '');
582582
}
583583

584584
if (selectedOpts.autoDimensions) {

0 commit comments

Comments
 (0)