Skip to content

Commit

Permalink
Fix issue with markers virtual DOM (see GoogleWebComponents#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertie-wheen committed Oct 22, 2020
1 parent 65c597b commit a37d513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions google-map-marker.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
},

_clickEventsChanged: function() {
if (this.map) {
if (this.marker) {
if (this.clickEvents) {
this._forwardEvent('click');
this._forwardEvent('dblclick');
Expand All @@ -329,7 +329,7 @@
},

_dragEventsChanged: function() {
if (this.map) {
if (this.marker) {
if (this.dragEvents) {
this._forwardEvent('drag');
this._forwardEvent('dragend');
Expand All @@ -343,7 +343,7 @@
},

_mouseEventsChanged: function() {
if (this.map) {
if (this.marker) {
if (this.mouseEvents) {
this._forwardEvent('mousedown');
this._forwardEvent('mousemove');
Expand Down

0 comments on commit a37d513

Please sign in to comment.