diff options
author | Frédéric Bolvin <frederic@bolvin.de> | 2014-11-17 21:09:53 +0300 |
---|---|---|
committer | Frédéric Bolvin <frederic@bolvin.de> | 2014-11-17 21:26:35 +0300 |
commit | fee2297d644f4e334859bff1b59fe361a3620d1b (patch) | |
tree | f8579f4023e55eb9bbef1fc91f988ab0a30390a6 /plugins/Login/templates | |
parent | f4c685368d18be51117cf2e97d629e26340d7910 (diff) |
Fixes #6163
Moved IE conditional statements to body to prevent ignoring the X-UA-Compatible tag by IE
Diffstat (limited to 'plugins/Login/templates')
-rw-r--r-- | plugins/Login/templates/login.twig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Login/templates/login.twig b/plugins/Login/templates/login.twig index 830b8b0f85..6c4fdf3a0c 100644 --- a/plugins/Login/templates/login.twig +++ b/plugins/Login/templates/login.twig @@ -1,8 +1,5 @@ <!DOCTYPE html> -<!--[if lt IE 9 ]> -<html class="old-ie"> <![endif]--> -<!--[if (gte IE 9)|!(IE)]><!--> -<html><!--<![endif]--> +<html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="IE=EDGE,chrome=1" > @@ -32,7 +29,10 @@ }); </script> </head> - <body id="loginPage"> + <!--[if lt IE 9 ]> + <body id="loginPage" class="old-ie"> <![endif]--> + <!--[if (gte IE 9)|!(IE)]><!--> + <body id="loginPage"><!--<![endif]--> {{ postEvent("Template.beforeTopBar", "login") }} {{ postEvent("Template.beforeContent", "login") }} |