From: yaron Date: Mon, 23 Dec 2013 18:11:16 +0000 (+0300) Subject: Fix to avoid IE "compatibility view" X-Git-Tag: 1.31.0-rc.0~17255^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=f30c062cbf68f4c99c13f345e9bfbd97cdc3edcb;p=lhc%2Fweb%2Fwiklou.git Fix to avoid IE "compatibility view" Bug: 25378 Bug: 49548 Bug: 54343 Change-Id: I1e94128e8578e3ac3ab7a64bbc0431a454085d02 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index b6a8d246d9..9866e2cd2e 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2510,6 +2510,10 @@ $templates $ret .= Html::element( 'title', null, $this->getHTMLTitle() ) . "\n"; + // Avoid Internet Explorer "compatibility view", so that + // jQuery can work correctly. + $ret .= Html::element( 'meta', array( 'http-equiv' => 'X-UA-Compatible', 'content' => 'IE=EDGE' ) ); + $ret .= implode( "\n", array( $this->getHeadLinks(), $this->buildCssLinks(),