Skip to content

Commit

Permalink
Remove special handling for Microsoft browsers
Browse files Browse the repository at this point in the history
The following line in head section
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
is no longer needed when using IE11 or Edge and using <!DOCTYPE html>, see [1]

Fixes #24476

[1] https://stackoverflow.com/questions/6771258/what-does-meta-http-equiv-x-ua-compatible-content-ie-edge-do
  • Loading branch information
atrol committed May 30, 2018
1 parent 60fd560 commit 8717ada
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/layout_api.php
Expand Up @@ -242,9 +242,6 @@ function layout_is_rtl() {
* @return void
*/
function layout_head_meta() {
# use the following meta to force IE use its most up to date rendering engine
echo '<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />' . "\n";

echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />' . "\n";
}

Expand Down

0 comments on commit 8717ada

Please sign in to comment.