html - Can't highlight text -
check http://discoveryobstacleruns.nl/. can't highlight text on site, doesn't seem z-index issue , doesn't have other means block text highlighting. idea what's causing it?
edit: disabling js seems trick, leads believe it's google maps causing it. however, elements above map clickable, content on top of map why wouldn't able highlight text?
so, apparently
document.getelementbyid('map').bind('click', function(e) { if(e.stoppropagation) { e.stoppropagation(); } });
fixes gives error message in console. makes sense because should be:
document.getelementbyid('map').addeventlistener('click', function(e) { if(e.stoppropagation) { e.stoppropagation(); } });
but doesn't work @ (doesn't give error though). gives??
Comments
Post a Comment