(e)
| 15 | window.addEventListener("touchmove", touchmove); |
| 16 | |
| 17 | function mousemove(e) { |
| 18 | cursorPos = { |
| 19 | x: e.clientX, |
| 20 | y: e.clientY |
| 21 | }; |
| 22 | if (!clicked) { |
| 23 | eyes.forEach(function(el) { |
| 24 | eyeFollow.init(el); |
| 25 | }) |
| 26 | } |
| 27 | } |
| 28 | function touchmove(e) { |
| 29 | cursorPos = { |
| 30 | x: e.targetTouches[0].offsetX, |