You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's because you have < and > in your inline script. I will try to find a fix but I can't say when. In the meantime, maybe you can move the inline js into your a js file?
I have a (pre-)compressed script in my header. When using your plugin, it deletes one of two conditions.
original:
<script>!function(s,t){var e=document.documentElement,n=(new Date).getHours();e.classList.remove("no-js"),n>20||n<8?e.classList.add("day"):e.classList.add("night")}(window,document);</script>
compressed:
<script>!function(s,t){var e=document.documentElement,n=(new Date).getHours();e.classList.remove("no-js"),n<8?e.classList.add("day"):e.classList.add("night")}(window,document);</script>
I was wondering why? Thanks in advance!
Cheers, Jakob
The text was updated successfully, but these errors were encountered: