The Gem Theme – custom JS error
-
There’s a script tag that’s added on every page by The Gem theme including AMP pages which is making all of our AMP pages invalid.
Example URL is below:
https://www.devinebath.com/amp
The script tag appears just above the closing body tag:
<script type=”text/javascript”>(function() {window.addEventListener(“load”,function(){var elem = document.getElementById(“thegem-preloader-inline-css”); if (elem!==null) setTimeout(function() {elem.parentNode.removeChild(elem)}, 300); });})();</script>
Is there a way to exclude this script tag from the AMP pages?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘The Gem Theme – custom JS error’ is closed to new replies.