You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo link or sample code:
http://google-maps-utility-library-
v3.googlecode.com/svn/tags/markerclusterer/1.0/examples/speed_test_example.
html
What steps will reproduce the problem?
1.open in IE7
2.click on a marker
3.error occers on this line 98 of speed_test.js
98 e.preventDefault();
Expected result:
infowindow should open
Actual result:
infowindow does not open.
Version: ###
Browser / Operating System:
IE7/8 Vista and XP
Additional comments:
my javascript knowledge isn't that good, so i don't know where to go from
here, but i hope this helps someone.
Alex
Original issue reported on code.google.com by eck...@gmail.com on 9 Apr 2010 at 7:26
The text was updated successfully, but these errors were encountered:
Hey guys I've looked into it a bit further. .preventDefault isn't supported by
internet explorer. this can be sovled by replacing line 98 with
if(!e) var e = window.event;
//e.cancelBubble is supported by IE - this will kill the bubbling process.
e.cancelBubble = true;
e.returnValue = false;
//e.stopPropagation works only in Firefox.
if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
see http://www.openjs.com/articles/prevent_default_action/ for more info.
Original comment by eck...@gmail.com on 23 Apr 2010 at 6:33
Original issue reported on code.google.com by
eck...@gmail.com
on 9 Apr 2010 at 7:26The text was updated successfully, but these errors were encountered: