Skip to content

Commit 235b188

Browse files
brandonocaseygkatsev
authored andcommitted
fix(ResizeManager): fixup the null check (videojs#5427)
1 parent cc650f7 commit 235b188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/resize-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ResizeManager extends Component {
6767

6868
} else {
6969
this.loadListener_ = () => {
70-
if (!this.el_ || this.el_.contentWindow) {
70+
if (!this.el_ || !this.el_.contentWindow) {
7171
return;
7272
}
7373

0 commit comments

Comments
 (0)