Created
July 12, 2016 20:01
-
-
Save ingozoell/12700de21e850ffa60176390bd44f70a to your computer and use it in GitHub Desktop.
Firefox Fix: .touch/.no-touch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( navigator.userAgent.toLowerCase().indexOf('firefox') > -1 ) { | |
$('html').removeClass('touch'); | |
$('html').addClass('no-touch'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment