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
{{ message }}
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
Don't worry about the conditional comments. You can see in your screenshot that the HTML tag doesn't have any class associated with it. The conditional comments are only valid in IE, and therefore only have the class removed from the tag in those browsers.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm just wondering why this class (no-js) is assigned to the html tag? It seems that Timber doesn't include Modernizer.
Also adding the following line of code in shop.js.liquid doesn't seem to remove the class (no-js)
$('html').removeClass('no-js');
If you check the rendered source, the class remains, even when the browser supports JS.
I've tested it in both Firefox and Safari (the latest versions) on a Mac.
Maybe I misunderstand how it works?
The text was updated successfully, but these errors were encountered: