Created
April 15, 2014 14:06
-
-
Save jbutko/10735589 to your computer and use it in GitHub Desktop.
jQuery, JS: Detect Safari using jQuery/JS
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
var is_safari = navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1 && navigator.userAgent.indexOf('Android') == -1; | |
if (is_safari) { | |
// /* On folder hover lower featured image z-index and almost hide all folder icons */ | |
$('.folder-image').hover(function() { | |
}, function() { | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment