Skip to content

Commit a37d513

Browse files
committed
Fix issue with markers virtual DOM (see GoogleWebComponents#397)
1 parent 65c597b commit a37d513

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google-map-marker.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
},
316316

317317
_clickEventsChanged: function() {
318-
if (this.map) {
318+
if (this.marker) {
319319
if (this.clickEvents) {
320320
this._forwardEvent('click');
321321
this._forwardEvent('dblclick');
@@ -329,7 +329,7 @@
329329
},
330330

331331
_dragEventsChanged: function() {
332-
if (this.map) {
332+
if (this.marker) {
333333
if (this.dragEvents) {
334334
this._forwardEvent('drag');
335335
this._forwardEvent('dragend');
@@ -343,7 +343,7 @@
343343
},
344344

345345
_mouseEventsChanged: function() {
346-
if (this.map) {
346+
if (this.marker) {
347347
if (this.mouseEvents) {
348348
this._forwardEvent('mousedown');
349349
this._forwardEvent('mousemove');

0 commit comments

Comments
 (0)