Skip to content

Commit 70fa5aa

Browse files
committed
fix(captions): fix configuration
1 parent 6bf7f3b commit 70fa5aa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

config/defaults.ts

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ const defaultConfig = {
8686
disableCaptions: false,
8787
autoload: false,
8888
lastCaptionsCode: '',
89-
disabledCaptions: false,
9089
},
9190
'compact-sidebar': {},
9291
'crossfade': {

plugins/captions-selector/menu.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default (): MenuTemplate => [
1414
{
1515
label: 'No captions by default',
1616
type: 'checkbox',
17-
checked: config.get('disabledCaptions'),
17+
checked: config.get('disableCaptions'),
1818
click(item) {
1919
config.set('disableCaptions', item.checked);
2020
},

0 commit comments

Comments
 (0)