markerwithlabel
Advanced tools
Comparing version 2.0.1 to 2.0.2
14
index.js
@@ -325,8 +325,12 @@ /** | ||
var i; | ||
this.labelDiv_.parentNode.removeChild(this.labelDiv_); | ||
this.eventDiv_.parentNode.removeChild(this.eventDiv_); | ||
if (this.labelDiv_.parentNode) { | ||
this.labelDiv_.parentNode.removeChild(this.labelDiv_); | ||
this.eventDiv_.parentNode.removeChild(this.eventDiv_); | ||
} | ||
// Remove event listeners: | ||
for (i = 0; i < this.listeners_.length; i++) { | ||
gMapsApi.event.removeListener(this.listeners_[i]); | ||
if (this.listeners_) { | ||
for (i = 0; i < this.listeners_.length; i++) { | ||
gMapsApi.event.removeListener(this.listeners_[i]); | ||
} | ||
} | ||
@@ -333,0 +337,0 @@ }; |
{ | ||
"name": "markerwithlabel", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "npm module of Google Map utility's Marker With Label", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1172
76985
8