Merge branch 'master' of github.com:kamranahmedse/driver.js
Browse files- src/index.js +1 -0
src/index.js
CHANGED
@@ -77,6 +77,7 @@ export default class Driver {
|
|
77 |
this.window.addEventListener('resize', this.onResize, false);
|
78 |
this.window.addEventListener('keyup', this.onKeyUp, false);
|
79 |
this.window.addEventListener('click', this.onClick, false);
|
|
|
80 |
}
|
81 |
|
82 |
/**
|
|
|
77 |
this.window.addEventListener('resize', this.onResize, false);
|
78 |
this.window.addEventListener('keyup', this.onKeyUp, false);
|
79 |
this.window.addEventListener('click', this.onClick, false);
|
80 |
+
this.window.addEventListener('touchstart', this.onClick, false);
|
81 |
}
|
82 |
|
83 |
/**
|