JavaScript: How to hide navigation drawer when user presses back button?

99 Views Asked by At

On my mobile website I show a navigation drawer. Could you please help how to hide the drawer on the first browser back event? Now if I press back button it just goes to the previous page.

0

There are 0 best solutions below