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/Widgetize | |
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/Widgetize')
-rw-r--r-- | plugins/Widgetize/templates/iframe.twig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Widgetize/templates/iframe.twig b/plugins/Widgetize/templates/iframe.twig index 54cc50602f..31dde1d761 100644 --- a/plugins/Widgetize/templates/iframe.twig +++ b/plugins/Widgetize/templates/iframe.twig @@ -1,8 +1,5 @@ <!DOCTYPE html> -<!--[if lt IE 9 ]> -<html class="old-ie" id="ng-app" ng-app="piwikApp"> <![endif]--> -<!--[if (gte IE 9)|!(IE)]><!--> -<html id="ng-app" ng-app="piwikApp"><!--<![endif]--> +<html id="ng-app" ng-app="piwikApp"> <head> <meta charset="utf-8"> {% include "_jsGlobalVariables.twig" %} @@ -14,7 +11,11 @@ <link rel="stylesheet" type="text/css" href="plugins/Morpheus/stylesheets/ieonly.css"/> <![endif]--> </head> + <!--[if lt IE 9 ]> + <body ng-app="app" class="old-ie"> <![endif]--> + <!--[if (gte IE 9)|!(IE)]><!--> <body ng-app="app"> + <![endif]--> <div class="widget"> {{ content|raw }} </div> |