So I have this code:
$(".left-nav-icon").on("click touchstart", function () {
$(".nav_aside").toggleClass("show");
});
It’s meant to display a sidebar when I click on a .left-nav-icon. It works perfectly on android but for some reason, just doesn’t work on ios. I’ve tried everything, this was the last code I tried and it still didn’t work.
I’ll appreciate any help, thanks.