I have an ontouchstart event triggered on my mobile view, its linked to this:
ontouchstart
function mobileLinksShow() { document.querySelector(\'.mobile-head
I just came up with the idea to just memorize if ontouchstart was ever triggered. In this case we are on a device which supports it and want to ignore the onclick event. Since ontouchstart should always be triggered before onclick, I'm using this:
onclick
Button