Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
km719 authored Dec 19, 2024
1 parent 27f3070 commit 014341b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/payment-accuracy/assets/js/magnific-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
_getCloseBtn = function(type) {
if(type !== _currPopupType || !mfp.currTemplate.closeBtn) {
mfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', DOMPurify.sanitize(mfp.st.tClose)) );
mfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose) );

Check warning

Code scanning / CodeQL

Unsafe jQuery plugin Medium

Potential XSS vulnerability in the
'$.fn.magnificPopup' plugin
.
_currPopupType = type;
}
return mfp.currTemplate.closeBtn;
Expand Down

0 comments on commit 014341b

Please sign in to comment.