• Resolved Optimizing Matters

    (@optimizingmatters)


    Beaver Builder has inline JS that checks for jQuery being present and enforcing it (and jquery-migrate) to be loaded if it’s not there. My BB-built page however does not require jQuery, how can I stop that inline JS from being added?

    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @optimizingmatters,

    Thanks for posting!

    Our page builder actually requires jQuery for it to work. However, you can use the action below to remove the inline script. ??
    remove_action('wp_footer', 'FLBuilder::include_jquery');

    Hope this helps!

    Ben

    • This reply was modified 7 years ago by Ben Carlo.
    Thread Starter Optimizing Matters

    (@optimizingmatters)

    thanks Ben. I do understand it’s needed for the builder-part (as admin/ editor), but if I build a page which does not need jQuery for a visitor, then having your filter indeed is very helpful ??

    and thanks for the latest release where you hooked into autoptimize (of which I am the developer) to disable AO when in the builder!

    frank

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Ah, gotcha! And no worries at all, Frank! Glad we could help. ??

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘stop jquery from being loaded?’ is closed to new replies.