Skip to content

Commit 7891816

Browse files
author
lauren mccarthy
committed
fixing typo in ontouchstart
1 parent 060d207 commit 7891816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input/touch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ define(function (require) {
6262
*/
6363
p5.prototype.ontouchstart = function(e) {
6464
var context = this._isGlobal ? window : this;
65-
context.setTouchPoints(e);
65+
this.setTouchPoints(e);
6666
if(typeof context.touchStarted === 'function') {
6767
e.preventDefault();
6868
context.touchStarted(e);

0 commit comments

Comments
 (0)