Skip to content

Commit

Permalink
fix: fancybox 依赖不完整
Browse files Browse the repository at this point in the history
  • Loading branch information
zkz098 committed Jul 9, 2024
1 parent 64c1b90 commit 2ba4b20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/js/_app/page/fancybox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const postFancybox = (p:string) => {
if (document.querySelector(p + ' .md img')) {
vendorCss('fancybox')
vendorCss('justifiedGallery')
vendorJs('jquery')
vendorJs('justifiedGallery')
vendorJs('fancybox', () => {
const q = jQuery.noConflict()

Expand Down

0 comments on commit 2ba4b20

Please sign in to comment.