Merge pull request #194 from A1kmm/dev-fix-mousemove-handler-for-touch

Fix a typo bug in the onblur handler for Touch.
This commit is contained in:
Evan Czaplicki 2013-08-08 13:54:01 -07:00
commit 79c6b3b39e

View file

@ -119,7 +119,7 @@ Elm.Native.Touch = function(elm) {
});
elm.addListener([root.id], node, "blur", function blur(e) {
node.removeEventListener("mousemove", move);
if (root.values.length > 0) {
if (root.value.length > 0) {
elm.notify(root.id, []);
--mouseID;
}