Commit
·
98dbd7b
1
Parent(s):
ad0769b
Closing on mobile, bind touchstart (#94)
Browse files- src/index.js +1 -0
src/index.js
CHANGED
@@ -73,6 +73,7 @@ export default class Driver {
|
|
73 |
this.window.addEventListener('resize', this.onResize, false);
|
74 |
this.window.addEventListener('keyup', this.onKeyUp, false);
|
75 |
this.window.addEventListener('click', this.onClick, false);
|
|
|
76 |
}
|
77 |
|
78 |
/**
|
|
|
73 |
this.window.addEventListener('resize', this.onResize, false);
|
74 |
this.window.addEventListener('keyup', this.onKeyUp, false);
|
75 |
this.window.addEventListener('click', this.onClick, false);
|
76 |
+
this.window.addEventListener('touchstart', this.onClick, false);
|
77 |
}
|
78 |
|
79 |
/**
|