Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit d77bfe7

Browse files
author
Dean Sofer
committed
fix(map): Closed #390 - Changed elm.trigger() to elm.triggerHandler()
1 parent 71ea70d commit d77bfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/directives/map/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//for the googlemap doesn't interfere with a normal 'click' event
1010
var $event = { type: 'map-' + eventName };
1111
google.maps.event.addListener(googleObject, eventName, function (evt) {
12-
element.trigger(angular.extend({}, $event, evt));
12+
element.triggerHandler(angular.extend({}, $event, evt));
1313
//We create an $apply if it isn't happening. we need better support for this
1414
//We don't want to use timeout because tons of these events fire at once,
1515
//and we only need one $apply

0 commit comments

Comments
 (0)