Bundled modernizr script conflicts with Vamtam theme
-
Hi, first of all – thank you for creating this plugin!
I had to modify your plugin in order for it to work with my theme, which uses a custom Modernizr build. It might work better if you broke out Modernizr into its own file and enqueued it separately, allowing the theme to use its version instead (if present)… But I haven’t tested this.
Since my theme is already loading modernizr, I simply deleted the modernizr script out of your gift-aid-for-woocommerce-public js files, and this fixed a bunch of JS errors that were breaking my site. Not an ideal solution, but for now it’s working.
I wonder if you could update the plugin to make it compatible with themes that include a custom Modernizr build, such as Vamtam.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Bundled modernizr script conflicts with Vamtam theme’ is closed to new replies.