diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 15:27:15 +0200 |
commit | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (patch) | |
tree | fa29fcfd704cbc56c7bc3e3e1c15d84ea0f4dc61 /client/src/assets/player | |
parent | 25ea1d85e155382367d11036617848fe69a1e6a4 (diff) | |
download | PeerTube-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.ts | 2 | ||||
-rw-r--r-- | client/src/assets/player/utils.ts | 2 |
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 |
35 | const dictionaryBytes: Array<{ max: number, type: string }> = [ | 35 | const 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' }, |