mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-11-01 13:11:35 +08:00
Closing on mobile, bind touchstart (#94)
This commit is contained in:
committed by
Kamran Ahmed
parent
de8cc3200c
commit
ee52d45b95
@@ -73,6 +73,7 @@ export default class Driver {
|
||||
this.window.addEventListener('resize', this.onResize, false);
|
||||
this.window.addEventListener('keyup', this.onKeyUp, false);
|
||||
this.window.addEventListener('click', this.onClick, false);
|
||||
this.window.addEventListener('touchstart', this.onClick, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user