I've appended a div with a html button:
$('.nav').append('<button class="restart">Restart</button>');
The button has css properties for hover. My problem is that when tapping the button on a touch-screen device, the button retains its hover state until another element is tapped.
Is there any way that the hover property can be ignored when browsing with a touch-screen device?
type="button"
? If not, the button becomes a submit button by default. – Patrick James McDougle