From f30c062cbf68f4c99c13f345e9bfbd97cdc3edcb Mon Sep 17 00:00:00 2001 From: yaron Date: Mon, 23 Dec 2013 21:11:16 +0300 Subject: [PATCH] Fix to avoid IE "compatibility view" Bug: 25378 Bug: 49548 Bug: 54343 Change-Id: I1e94128e8578e3ac3ab7a64bbc0431a454085d02 --- includes/OutputPage.php | 4 ++++ 1 file changed, 4 insertions(+) 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(), -- 2.20.1