Set boolean value to HTMLInputElement.checked
See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-checked
This commit is contained in:
+1
-1
@@ -164,7 +164,7 @@ ol.dom.Input.prototype.handleInputChanged_ = function() {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
ol.dom.Input.prototype.handleCheckedChanged_ = function() {
|
ol.dom.Input.prototype.handleCheckedChanged_ = function() {
|
||||||
this.target_.checked = this.getChecked() ? 'checked' : undefined;
|
this.target_.checked = this.getChecked();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user