File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,9 @@ export class RadioButtonsView extends DescriptionView {
313
313
*/
314
314
update ( options ?: any ) : void {
315
315
const items : string [ ] = this . model . get ( '_options_labels' ) ;
316
- const radios = Array . from ( this . container . querySelectorAll ( 'input[type="radio"]' ) ) . map ( x => x . value ) ;
316
+ const radios = Array . from (
317
+ this . container . querySelectorAll ( 'input[type="radio"]' )
318
+ ) . map ( ( x : HTMLInputElement ) => x . value ) ;
317
319
let stale = items . length !== radios . length ;
318
320
319
321
if ( ! stale ) {
@@ -430,7 +432,7 @@ export class RadioButtonsView extends DescriptionView {
430
432
export class ToggleButtonsStyleModel extends DescriptionStyleModel {
431
433
defaults ( ) : Backbone . ObjectHash {
432
434
return {
433
- ...super . defaults ( ) ,
435
+ ...super . defaults ( ) ,
434
436
_model_name : 'ToggleButtonsStyleModel'
435
437
} ;
436
438
}
You can’t perform that action at this time.
0 commit comments