leaflet-editable-textbox
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "leaflet-editable-textbox", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "TextBox for Leaflet.Editable", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -52,2 +52,17 @@ | ||
/** | ||
* @param {L.Map} map | ||
*/ | ||
onRemove: function(map) { | ||
if (null !== this._textNode) { | ||
if (null !== this._textNode.parentNode) { | ||
this._textNode.parentNode.removeChild(this._textNode); | ||
} | ||
this._textNode = null; | ||
} | ||
L.Rectangle.prototype.onRemove.call(this, map); | ||
}, | ||
_renderText: function() { | ||
@@ -54,0 +69,0 @@ if (this._renderer) { |
Sorry, the diff of this file is too big to display
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
2668857
17069