We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de8346 commit 35c3148Copy full SHA for 35c3148
src/css/var/getStyles.js
@@ -6,7 +6,7 @@ define( function() {
6
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
7
var view = elem.ownerDocument.defaultView;
8
9
- if ( !view.opener ) {
+ if ( !view || !view.opener ) {
10
view = window;
11
}
12
0 commit comments