touchEnded() fires "evt is undefined"

Hey,

I use in my programm touchEnded(), touchMoved() and touchStarted(), but touchEnded() makes problems. I tried to make a easier code example, but its the same. :/ I get this error (TypeError: evt is undefined) in this simple example:

function touchMoved() { console.log("moved"); return false; } function touchStarted() { console.log("started"); return false; } function touchEnded() { console.log("ended"); return false; }

If I touch and release directly, than I get all the console log entries. But if I moved while touching and stop it, then I never get the console log with "ended". Why?

Thank you! Eispfote

Answers

Sign In or Register to comment.