Skip to content

Commit

Permalink
fix: Update jQuery filter removal syntax for 3.x compatibility (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomomdahan authored Oct 27, 2024
1 parent 89f151b commit 0ff593b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/js/jquery.fancybox-1.3.4.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@

_finish = function () {
if (!$.support.opacity) {
content.get(0).style.removeAttribute('filter');
wrap.get(0).style.removeAttribute('filter');
content.get(0).style.removeProperty('filter');
wrap.get(0).style.removeProperty('filter');
}

if (selectedOpts.autoDimensions) {
Expand Down

0 comments on commit 0ff593b

Please sign in to comment.