diff options
Diffstat (limited to 'resources/lib/oojs-ui/oojs-ui.js')
-rw-r--r-- | resources/lib/oojs-ui/oojs-ui.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/resources/lib/oojs-ui/oojs-ui.js b/resources/lib/oojs-ui/oojs-ui.js index 068c8facd7bf..41b6fabb14aa 100644 --- a/resources/lib/oojs-ui/oojs-ui.js +++ b/resources/lib/oojs-ui/oojs-ui.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.1.0-pre (8ad150e4e7) + * OOjs UI v0.1.0-pre (72f047e5d8) * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2014 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2014-09-05T21:30:32Z + * Date: 2014-09-06T00:15:06Z */ ( function ( OO ) { @@ -1384,8 +1384,9 @@ OO.ui.Window.static.transplantStyles = function ( parentDoc, frameDoc, timeout ) styleText = '@import url(' + styleNode.href + ');'; } else { // Internal stylesheet; just copy the text - // For IE10 we need to fall back to .cssText - styleText = styleNode.textContent || parentDoc.styleSheets[i].cssText; + // For IE10 we need to fall back to .cssText, BUT that's undefined in + // other browsers, so fall back to '' rather than 'undefined' + styleText = styleNode.textContent || parentDoc.styleSheets[i].cssText || ''; } // Create a node with a unique ID that we're going to monitor to see when the CSS |