IE11 Body Class Gecko4 and Gecko11

Ger Vang asked on June 3, 2014 10:55

I have two Kentico environments and for some strange reason in DEV when I'm using IE11, the BODY class is injecting "Gecko Gecko4" while in PRODUCTION it's "Gecko Gecko11". Any ideas why it'll be doing that? Is there a place where it can be modify?

Recent Answers


Jan Hermann answered on June 4, 2014 04:26

Hello,

if you find a way to recognize IE11, you can simply extend the body class by your own class:

CMS.CMSHelper.CMSContext.CurrentBodyClass += " IE11";

Best regards, Jan Hermann

0 votesVote for this answer Mark as a Correct answer

Ger Vang answered on June 4, 2014 09:01

That's the thing. I don't know where the code is that's doing the logic behind the scene. As a fix for now, I'm using JavaScript to inject the class name.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.