Skip to content

Commit

Permalink
fix: update _dragEventsChanged to check for marker instead of map
Browse files Browse the repository at this point in the history
Close #7
  • Loading branch information
paodb committed Aug 19, 2021
1 parent 91fb715 commit 46c1039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-map-marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Polymer({
},

_dragEventsChanged() {
if (this.map) {
if (this.marker) {
if (this.dragEvents) {
this._forwardEvent('drag');
this._forwardEvent('dragend');
Expand Down

0 comments on commit 46c1039

Please sign in to comment.