leaflet-editable-textbox
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "leaflet-editable-textbox", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2676231
17069
0