jessicamarcus
5/28/2015 - 6:54 PM

detect if device is touch-enabled

detect if device is touch-enabled

if ('ontouchstart' in window) {
    // do stuff
}