• Resolved Creative Slice

    (@creativeslice)


    Is there any way to adjust settings so the scripts for this block only load on pages that include the block?

    We’re trying to avoid loading these 3 scripts on the homepage, which does not use the panorama block:

    /panorama-block/assets/js/three.min.js
    /panorama-block/assets/js/panorama.min.js
    /panorama-block/dist/script.js
Viewing 1 replies (of 1 total)
  • Plugin Author Charles Cormier

    (@charlescormier)

    Hi @creativeslice,

    We update the plugin to load scripts if block is used in page. And released a new version.

    Please update the plugin to the new version. And let us know if its working or not.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Only load scripts if block is in use?’ is closed to new replies.