Merge pull request #1266 from fredj/input_checked

Set boolean value to HTMLInputElement.checked
This commit is contained in:
Frédéric Junod
2013-11-12 04:51:53 -08:00

View File

@@ -164,7 +164,7 @@ ol.dom.Input.prototype.handleInputChanged_ = function() {
* @private
*/
ol.dom.Input.prototype.handleCheckedChanged_ = function() {
this.target_.checked = this.getChecked() ? 'checked' : undefined;
this.target_.checked = this.getChecked();
};