File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function getCurrentState() {
97
97
const enabled = qs$ ( '#enableMyFilters input' ) . checked ;
98
98
return {
99
99
enabled,
100
- trusted : enabled && qs$ ( '#trustMyFilters input' ) . checked ,
100
+ trusted : qs$ ( '#trustMyFilters input' ) . checked ,
101
101
filters : getEditorText ( ) ,
102
102
} ;
103
103
}
@@ -128,7 +128,6 @@ function userFiltersChanged(details = {}) {
128
128
qs$ ( '#userFiltersApply' ) . disabled = ! changed ;
129
129
qs$ ( '#userFiltersRevert' ) . disabled = ! changed ;
130
130
const enabled = qs$ ( '#enableMyFilters input' ) . checked ;
131
- dom . attr ( '#trustMyFilters .input.checkbox' , 'disabled' , enabled ? null : '' ) ;
132
131
const trustedbefore = cmEditor . getOption ( 'trustedSource' ) ;
133
132
const trustedAfter = enabled && qs$ ( '#trustMyFilters input' ) . checked ;
134
133
if ( trustedAfter === trustedbefore ) { return ; }
You can’t perform that action at this time.
0 commit comments