Skip to content

Commit b915f5a

Browse files
kostasxDaniel15
authored andcommitted
Converting autofocus to autoFocus cameCased
1 parent 3b14406 commit b915f5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/htmltojsx.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ var ATTRIBUTE_MAPPING = {
3131
var ELEMENT_ATTRIBUTE_MAPPING = {
3232
'input': {
3333
'checked': 'defaultChecked',
34-
'value': 'defaultValue'
34+
'value': 'defaultValue',
35+
'autofocus': 'autoFocus'
3536
}
3637
};
3738

0 commit comments

Comments
 (0)