no-js class not removed with JavaScript enabled #270

Closed
marcinkrzeminski opened this Issue Nov 12, 2013 · 5 comments

Projects

None yet

2 participants

@marcinkrzeminski

Hello,

After I udpated to the latest version of HeadJS I noticed that no-js class is visible inside all classes applied to the html tag of my document. I checked headjs.com and it's also there. Please take a look at the attached image.

headjs

@robert-hoffmann
Member

Investigating ..tracked this to this fix #226

The quick-fix is to insert a space before "no-js ..." like this " no-js ..."

@marcinkrzeminski

Thanks, another quick fix is to use jQuery for that but I reported this that HeadJS will be even more awesome ;). Do you plan to patch this pretty quick?

@robert-hoffmann
Member

got it fixed for both use-cases, and Chrome. Patch should follow quickly

@marcinkrzeminski

Sweet ;). Many thanks and keep up an awesome job with HeadJS 👍

@robert-hoffmann robert-hoffmann added a commit that closed this issue Nov 13, 2013
@robert-hoffmann robert-hoffmann fix #270 636b538
@robert-hoffmann
Member

Your welcome, and thanks for the heads up on the problem 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment