diff options
Diffstat (limited to 'src/js/ui.js')
-rw-r--r-- | src/js/ui.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/ui.js b/src/js/ui.js index d8d420b0..7e09dea6 100644 --- a/src/js/ui.js +++ b/src/js/ui.js @@ -84,7 +84,9 @@ const ui = { this.ready = true; // Ready event at end of execution stack - utils.dispatchEvent.call(this, this.media, 'ready'); + setTimeout(() => { + utils.dispatchEvent.call(this, this.media, 'ready'); + }, 0); // Set the title ui.setTitle.call(this); |