Tidy up css/js injection
-
This looks like a good plugin, so thanks for creating it. ??
One thing I’ve noticed is that quite a lot of css and javascript is injected on every page load, regardless of whether the page is set as one of the checkout pages or not.
It would be better if it was only injected on pages where invoicing forms are actually present (e.g. the pages specified in the settings or when a shortcode is used).
v2.0 also seems to inject this into the very bottom of every page, which causes problems with styling when the font-size is set to something other than 16px:
<style>html{font-size:16px;}</style>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Tidy up css/js injection’ is closed to new replies.