fix(captions): fix configuration

This commit is contained in:
JellyBrick
2023-10-07 12:17:42 +09:00
parent 6bf7f3b9eb
commit 70fa5aa217
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ const defaultConfig = {
disableCaptions: false,
autoload: false,
lastCaptionsCode: '',
disabledCaptions: false,
},
'compact-sidebar': {},
'crossfade': {

View File

@ -14,7 +14,7 @@ export default (): MenuTemplate => [
{
label: 'No captions by default',
type: 'checkbox',
checked: config.get('disabledCaptions'),
checked: config.get('disableCaptions'),
click(item) {
config.set('disableCaptions', item.checked);
},