From: Bartosz DziewoƄski Date: Mon, 28 Sep 2015 17:12:06 +0000 (+0200) Subject: Work around IE9's broken handling of .styleSheet.cssText X-Git-Tag: 1.31.0-rc.0~9668^2 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=c2e8f505c12ace6af42161bf9930d483b1721f2e;p=lhc%2Fweb%2Fwiklou.git Work around IE9's broken handling of .styleSheet.cssText IE9 drops @media queries from .styleSheet.cssText when that property is read. Therefore we can't trust it to contain what we put there previously. Bug: T108727 Change-Id: Ic4f553966e48e3fc608a47ef193df923227ceb96 --- diff --git a/resources/src/mediawiki/mediawiki.js b/resources/src/mediawiki/mediawiki.js index 5dd2acbd81..1577fff0e2 100644 --- a/resources/src/mediawiki/mediawiki.js +++ b/resources/src/mediawiki/mediawiki.js @@ -924,14 +924,22 @@ // Verify that the element before the marker actually is a //