diff --git a/templates/assets/js/main.js b/templates/assets/js/main.js index 581948b5..e14b3e54 100644 --- a/templates/assets/js/main.js +++ b/templates/assets/js/main.js @@ -122,7 +122,7 @@ document.addEventListener('DOMContentLoaded', function () { } if (typeof $.fancybox === 'undefined') { - $('head').append(``) + // $('head').append(``) $.getScript(`${GLOBAL_CONFIG.source.fancybox.js}`, function () { runFancybox($(ele)) }) diff --git a/templates/assets/js/utils.js b/templates/assets/js/utils.js index 4c4de61e..104eb177 100644 --- a/templates/assets/js/utils.js +++ b/templates/assets/js/utils.js @@ -74,7 +74,7 @@ var btf = { } if (typeof $.fancybox === 'undefined') { - $('head').append(``) + // $('head').append(``) $.getScript(`${GLOBAL_CONFIG.source.fancybox.js}`, function () { runFancybox($(ele)) })