@samitouri / QOS-React-2 / commits / 05fa75d395

IE8 does not have a setter for property "enctype"

Andreas Svensson committed Sep 3, 2014 at 15:30 UTC 05fa75d395ba6a3caeeaf26f7da154a8787cd3db
1 file changed +3 -1
src/browser/ui/dom/HTMLDOMPropertyConfig.js
+3 -1
@@ -176,7 +176,9 @@ var HTMLDOMPropertyConfig = {
176 autoCorrect: 'autocorrect',
177 autoFocus: 'autofocus',
178 autoPlay: 'autoplay',
179 - encType: 'enctype',
179 + // `encoding` is equivalent to `enctype`, IE8 lacks an `enctype` setter.
180 + // http://www.w3.org/TR/html5/forms.html#dom-fs-encoding
181 + encType: 'encoding',
182 hrefLang: 'hreflang',
183 radioGroup: 'radiogroup',
184 spellCheck: 'spellcheck',