Hey everyone,

So, I have installed the modernizr module and have enabled it and have placed a custom build of modernizr.js into stes/all/libraries/modernizr/.

I can see that the script is being loaded, however, it seems that the HTML classes for IE browsers aren't being injected into my HTML tag. Is there a reason why this could be?

I can't see any errors anywhere, so i'm a bit lost as to what I need to do to get this working.

Also, for html shiv, does the modernizr script load this in a separate js file? If it does, then this isn't being loaded either...

Any help welcome!

Thanks,
Craig

Comments

Fidelix’s picture

Assigned: barber75 » Unassigned

Yes, I have the same problem. Only with the custom build.

rupl’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

I cannot respond to a bug report without your Modernizr build URL. Look in the top of the JS file to find it. More detailed instructions are listed on the Create issue page for this module.

Maybe look at this issue and see if it solves your problem: #2024265: Modernizr.js loaded but no html classes injected

rupl’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I was looking at this and the other issue I linked to and realized they're dupes. Anyone who finds this issue should go to the other one for the full explanation, and in the mean time remember to actually select some feature tests if you want the custom build to test anything.