Merge "Use .prop() instead of .attr()/.removeAttr() to set boolean attributes"
This commit is contained in:
@@ -511,7 +511,7 @@
|
||||
*/
|
||||
markDirty: function () {
|
||||
this.dirty = true;
|
||||
this.$parent.$window.find( 'button.uls-settings-apply' ).removeAttr( 'disabled' );
|
||||
this.$parent.$window.find( 'button.uls-settings-apply' ).prop( 'disabled', false );
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -175,9 +175,9 @@
|
||||
$inputMethodItem = $( '<input type="radio">' ).attr( {
|
||||
name: 'ime',
|
||||
id: imeId,
|
||||
value: imeId,
|
||||
checked: selected
|
||||
} );
|
||||
value: imeId
|
||||
} )
|
||||
.prop( 'checked', selected );
|
||||
|
||||
$imeLabel.append( $inputMethodItem );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user