on master help sign in
Fix #748, properly detect mouse up events

Thanks to @andreywix for hunting this down!

commit68a2ced86209abcefe53dae620dacad1493acb99 authorEvan Czaplicki <info@elm-lang.org> dateMon 18 Aug 2014, 13:02 (12 years ago) parentda1eb29
1 file changed+1−1
libraries/Native/Signal/Touch.js+1−1
libraries/Native/Signal/Touch.js+1−1
@@ -107,7 +107,7 @@ Elm.Native.Touch.make = function(elm) {
107107 root.value.push(touch(e));
108108 elm.notify(root.id, root.value);
109109 });
110− elm.addListener([root.id], node, "mouseup", function up(e) {
110+ elm.addListener([root.id], document, "mouseup", function up(e) {
111111 node.removeEventListener("mousemove", move);
112112 e.identifier = mouseID;
113113 end(e);