aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/ui.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-06-15 15:34:29 +1000
committerGitHub <noreply@github.com>2018-06-15 15:34:29 +1000
commitd522e405942e060180c7f5b28c914028e94a917b (patch)
tree71986987e1c10eca00d6796551b2f065f9d07d03 /src/js/ui.js
parent3cd2b9a6c3ab2a7b530f1f0e6eae884ba41b9211 (diff)
parent6bff6b317d6adcd9f94c8d4d8ee225d39f784e0f (diff)
downloadplyr-d522e405942e060180c7f5b28c914028e94a917b.tar.lz
plyr-d522e405942e060180c7f5b28c914028e94a917b.tar.xz
plyr-d522e405942e060180c7f5b28c914028e94a917b.zip
Merge pull request #1034 from friday/remove-array-newline-rule
Suggestion: Remove array newline rule
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);