I started to try and fix assuming tooltips were on mobile if the browser registered touchstart, ended up making all tooltip settings per tooltip, as well as make tooltips behave based on event type, not on browser registering touchstart
Clean up the code a bit. Should allow you to switch to a mouse based input type even if you opened it using touchstart. Clicking on the data-tooltip element via touchstart will now close it so you don't have to click on the tooltip itself
Better handling of switching between touch and mouse events
A little bit of cleanup.
Merge conflicts.