-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels