diff options
Diffstat (limited to 'client/src/assets')
-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' }, |