1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

chore(component): update comment around triggering ready in component (#7256)

This commit is contained in:
Dtthatcher 2021-06-02 15:48:07 -04:00 committed by GitHub
parent c70c29885a
commit 11ac0b9bf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,9 +116,9 @@ class Component {
this.initChildren();
}
this.ready(ready);
// Don't want to trigger ready here or it will before init is actually
// Don't want to trigger ready here or it will go before init is actually
// finished for all children that run this constructor
this.ready(ready);
if (options.reportTouchActivity !== false) {
this.enableTouchActivity();