Problem:
- A uncatched JavaScript error is thrown
- The popup tooltip does not have the triangle, and does not go away automatically.
Steps to reproduce:
- Visit a Special:Translate in proofread mode (example)
load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6150 Uncaught TypeError: Cannot read property 'defaultView' of null
at getStyles (load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6150)
at curCSS (load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6161)
at Function.css (load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6756)
at load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6905
at jQuery.access (load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:4182)
at jQuery.fn.init.css (load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=1ozcoro:6887)
at Object.OO.ui.Element.static.getClosestScrollableContainer (oojs-ui-core.js?d7ad9:1202)
at OoUiPopupWidget.OO.ui.mixin.FloatableElement.togglePositioning (oojs-ui-core.js?d7ad9:4202)
at OoUiPopupWidget.OO.ui.PopupWidget.toggle (oojs-ui-core.js?d7ad9:5038)
at ext.translate.messagetable.js?7aeec:287This issue must have started happening quite recently. I would appreciate help figuring out whether something needs to change in Translate or in OOjs UI.