on master help sign in
fix spacing
commit62dc6e8a571f55a0e22ad8808d0d3460e1079042 authorEvan Czaplicki <info@elm-lang.org> dateThu 1 Aug 2013, 19:46 (13 years ago) parent32c17ec
1 file changed+7−7
runtime/Render/Element.js+7−7
runtime/Render/Element.js+7−7
@@ -25,14 +25,14 @@ function setProps(props, e) {
2525 if (props.hover.ctor !== '_Tuple0') {
2626 var overCount = 0;
2727 e.addEventListener('mouseover', function() {
28− if (overCount++ > 0) return;
29− props.hover(true);
30− });
28+ if (overCount++ > 0) return;
29+ props.hover(true);
30+ });
3131 e.addEventListener('mouseout', function(evt) {
32− if (e.contains(evt.toElement || evt.relatedTarget)) return;
33− overCount = 0;
34− props.hover(false);
35− });
32+ if (e.contains(evt.toElement || evt.relatedTarget)) return;
33+ overCount = 0;
34+ props.hover(false);
35+ });
3636 }
3737 return e;
3838}