Fixes small issue with Element's booleanAttributes

pull/1640/head
Admin 7 years ago
parent 21741ac187
commit 79c023e604

@ -21,7 +21,8 @@ import mapChildren from './shared/mapChildren';
import { dimensions } from '../../utils/patterns'; import { dimensions } from '../../utils/patterns';
// source: https://gist.github.com/ArjanSchouten/0b8574a6ad7f5065a5e7 // source: https://gist.github.com/ArjanSchouten/0b8574a6ad7f5065a5e7
const booleanAttributes = new Set(['async', const booleanAttributes = new Set([
'async',
'autocomplete', 'autocomplete',
'autofocus', 'autofocus',
'autoplay', 'autoplay',

Loading…
Cancel
Save