Merge pull request #802 from Dandandan/master
Use default background color instead of transparent, fixes #797
commitcf120338c586b833f3af138ce2060a44bf1b8410
authorEvan Czaplicki <info@elm-lang.org>
dateWed 1 Oct 2014, 00:33 (12 years ago)
parentd5b227d1e87b7d
runtime/Render/Element.js+1−1
@@ -392,7 +392,7 @@ function updateProps(node, curr, next) {
392392
393393 var nextColor = nextProps.color.ctor === 'Just'
394394 ? colorToCss(nextProps.color._0)
395− : 'transparent';
395+ : '';
396396 if (node.style.backgroundColor !== nextColor) {
397397 node.style.backgroundColor = nextColor;
398398 }