ReferenceError: event is not defined. i am using gmaps4rails gem

94 views Asked by At

in google chrome, everything work perfectly but in mozila-firefox it does not support on click listener.it display following error

ReferenceError: event is not defined

My code is following

  google.maps.event.addListener(marker.getServiceObject(), 'click', onMarkerClick(_i,marker.getServiceObject(),event) );
0

There are 0 answers