From d3be7d9d187f4aa6fdfff32ceab79ebbffe71262 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 12 Nov 2013 10:24:32 +0100 Subject: [PATCH] Set boolean value to HTMLInputElement.checked See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-checked --- src/ol/dom/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/dom/input.js b/src/ol/dom/input.js index 4b078616c2..dfaedb61e3 100644 --- a/src/ol/dom/input.js +++ b/src/ol/dom/input.js @@ -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(); };