aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui.js')
-rw-r--r--src/js/ui.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/js/ui.js b/src/js/ui.js
index d3d86124..285739a7 100644
--- a/src/js/ui.js
+++ b/src/js/ui.js
@@ -212,10 +212,7 @@ const ui = {
// Check if media is loading
checkLoading(event) {
- this.loading = [
- 'stalled',
- 'waiting',
- ].includes(event.type);
+ this.loading = ['stalled', 'waiting'].includes(event.type);
// Clear timer
clearTimeout(this.timers.loading);