I’ve sent this request to the helpdesk and hope for a reply, but since the dev team is pretty busy, I thought I’d post it here in case @bartekkustra or anyone had a quick fix… I could really use some help.
I’m trying to use the excellent MixItUp jQuery plugin to sort/filter samples on a page, but the
defer attribute in the webflow header’s jQuery reference:
…seems to disable it somehow. (Adding a jQuery reference without a
defer in the custom code has no effect.)
When I export my test site and just delete that
defer attribute, the site works fine:
… Here’s how it looks using the raw export that still includes the Webflow header
(The content is set to opacity:0; display:none; and Mixitup handles its state so it’s visible in the version that works.)
I’m assuming that Bad Things would happen if I just removed the
defer and kept working, since webflow’s jQuery performance must depend on it being there.
But is there some way of having the Mixitup plugin load properly by adding something to force it?
Here’s the troubleshooting link: https://webflow.com/design/mixit?preview=f7f616f7a33cbf8aa41131e402b0307a