Encountered a strange issue on my webpage where one of the divs is displaying incorrectly, but only on Mac Safari. Thinking about using a jQuery hack instead of starting from scratch to fix it.
I tried to target Mac Safari with this code, but it didn't work as expected. Can someone help me identify the mistake?
if((navigator.platform.indexOf(“Mac”) != -1) && (navigator.userAgent.match(/msie|trident/i))) {
$(".hiddenlg img").css('display','none');
Appreciate any assistance!