revert adding more events
This commit is contained in:
parent
3ce033cd23
commit
414a24ed17
1
tile.js
1
tile.js
@ -44,7 +44,6 @@ class Tile
|
|||||||
this.elem.addEventListener("mouseenter", c => this.on_mouseenter(c));
|
this.elem.addEventListener("mouseenter", c => this.on_mouseenter(c));
|
||||||
this.elem.addEventListener("mouseleave", c => this.on_mouseleave(c));
|
this.elem.addEventListener("mouseleave", c => this.on_mouseleave(c));
|
||||||
this.elem.addEventListener("mousedown", c => this.on_click(c));
|
this.elem.addEventListener("mousedown", c => this.on_click(c));
|
||||||
this.elem.addEventListener("touchstart", c => this.on_click(c));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reset()
|
reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user