aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-24 15:27:15 +0200
committerChocobozzz <me@florianbigard.com>2023-05-24 15:27:15 +0200
commitd0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch)
treefa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/assets/player
parent25ea1d85e155382367d11036617848fe69a1e6a4 (diff)
downloadPeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.gz
PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.tar.zst
PeerTube-d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d.zip
Fix lint
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/shared/settings/settings-dialog.ts2
-rw-r--r--client/src/assets/player/utils.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/shared/settings/settings-dialog.ts b/client/src/assets/player/shared/settings/settings-dialog.ts
index 8cd98967f..f5fbbe7ad 100644
--- a/client/src/assets/player/shared/settings/settings-dialog.ts
+++ b/client/src/assets/player/shared/settings/settings-dialog.ts
@@ -23,7 +23,7 @@ class SettingsDialog extends Component {
23 innerHTML: '', 23 innerHTML: '',
24 tabIndex: -1 24 tabIndex: -1
25 }, { 25 }, {
26 role: 'dialog', 26 'role': 'dialog',
27 'aria-labelledby': dialogLabelId, 27 'aria-labelledby': dialogLabelId,
28 'aria-describedby': dialogDescriptionId 28 'aria-describedby': dialogDescriptionId
29 }) 29 })
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index ffbe64408..cc303b80b 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -32,7 +32,7 @@ function isSafari () {
32 32
33// https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts 33// https://github.com/danrevah/ngx-pipes/blob/master/src/pipes/math/bytes.ts
34// Don't import all Angular stuff, just copy the code with shame 34// Don't import all Angular stuff, just copy the code with shame
35const dictionaryBytes: Array<{ max: number, type: string }> = [ 35const dictionaryBytes: { max: number, type: string }[] = [
36 { max: 1024, type: 'B' }, 36 { max: 1024, type: 'B' },
37 { max: 1048576, type: 'KB' }, 37 { max: 1048576, type: 'KB' },
38 { max: 1073741824, type: 'MB' }, 38 { max: 1073741824, type: 'MB' },