Skip to content

Commit

Permalink
fix: magnificPopup js error
Browse files Browse the repository at this point in the history
  • Loading branch information
AirboZH committed Apr 12, 2024
1 parent 6d343ae commit 3e415ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/modules/components/img-popup.js
Expand Up @@ -8,7 +8,7 @@ import {preImg} from "../../patch/pre-img";
export function imgPopup() {
preImg();

if ($('.popup') <= 0) {
if ($(".popup").length <= 0) {
return;
}

Expand Down

0 comments on commit 3e415ea

Please sign in to comment.