1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-02 09:11:54 +02:00

fix(ResizeManager): fixup the null check (#5427)

This commit is contained in:
Brandon Casey 2018-09-11 11:26:15 -04:00 committed by Gary Katsevman
parent cc650f779d
commit 235b18853e

View File

@ -67,7 +67,7 @@ class ResizeManager extends Component {
} else {
this.loadListener_ = () => {
if (!this.el_ || this.el_.contentWindow) {
if (!this.el_ || !this.el_.contentWindow) {
return;
}