Closed yasminzul closed 5 years ago
In every scene control function, the controller needs to be returned, so the reference is kept for later destroying on window.resize. And also you need to assign the new controllers to the variables
The nav is not working because you the previous codes fire click
event and touchend
event tgt, so the class is toggled twice