on master help sign in
Merge branch 'master' into debugger
commit2a03dd99976ae3312f5c6a94eda1bd32ad5ac52a authorEvan Czaplicki <info@elm-lang.org> dateSat 5 Apr 2014, 16:42 (13 years ago) parent9e5c9720b7449f
2 files changed+7−4
Elm.cabal+4−4 runtime/Render/Element.js+3
Elm.cabal+4−4
@@ -96,7 +96,7 @@ Library
9696
9797 Build-depends: aeson,
9898 base >=4.2 && <5,
99− binary >= 0.6.4.0,
99+ binary >= 0.7.0.0,
100100 blaze-html >= 0.5 && < 0.8,
101101 blaze-markup,
102102 bytestring,
@@ -178,7 +178,7 @@ Executable elm
178178
179179 Build-depends: aeson,
180180 base >=4.2 && <5,
181− binary >= 0.6.4.0,
181+ binary >= 0.7.0.0,
182182 blaze-html >= 0.5 && < 0.8,
183183 blaze-markup,
184184 bytestring,
@@ -222,7 +222,7 @@ Executable elm-doc
222222 Build-depends: aeson,
223223 aeson-pretty,
224224 base >=4.2 && <5,
225− binary >= 0.6.4.0,
225+ binary >= 0.7.0.0,
226226 bytestring,
227227 cmdargs,
228228 containers >= 0.3,
@@ -258,7 +258,7 @@ Test-Suite compiler-tests
258258 filemanip,
259259 aeson,
260260 base >=4.2 && <5,
261− binary >= 0.6.4.0,
261+ binary >= 0.7.0.0,
262262 blaze-html == 0.5.* || == 0.6.*,
263263 blaze-markup == 0.5.1.*,
264264 bytestring,
runtime/Render/Element.js+3
@@ -31,6 +31,7 @@ function setProps(elem, e) {
3131 a.style.display = 'block';
3232 a.style.position = 'absolute';
3333 e.style.position = 'relative';
34+ a.style.pointerEvents = 'auto';
3435 e.appendChild(a);
3536 }
3637 if (props.hover.ctor !== '_Tuple0') {
@@ -235,6 +236,7 @@ function rawHtml(elem) {
235236 }
236237 document.body.removeChild(div);
237238 div.style.visibility = 'visible';
239+ div.style.pointerEvents = 'auto';
238240 return div;
239241}
240242
@@ -378,6 +380,7 @@ function updateProps(node, curr, next) {
378380 a.style.display = 'block';
379381 a.style.position = 'absolute';
380382 e.style.position = 'relative';
383+ a.style.pointerEvents = 'auto';
381384 e.appendChild(a);
382385 } else {
383386 node.lastNode.href = props.href;