angular-stackables
Advanced tools
Comparing version 1.2.0 to 1.2.1
# angular-stackables ChangeLog | ||
## 1.2.1 - 2017-05-30 | ||
### Fixed | ||
- Ensure parent of stackable exists before calling `closest`. | ||
## 1.2.0 - 2017-05-26 | ||
@@ -4,0 +9,0 @@ |
@@ -167,6 +167,10 @@ /*! | ||
var parent; | ||
var parentDialog; | ||
// get z-index of parent dialog, if any | ||
var parentDialog = angular.element(element.parent()[0].closest('dialog')); | ||
if(parentDialog.length === 0) { | ||
parent = element.parent()[0]; | ||
if(parent) { | ||
parentDialog = angular.element(parent.closest('dialog')); | ||
} | ||
if(!parentDialog || parentDialog.length === 0) { | ||
// no dialog parent; move dialog to body to simplify z-indexing | ||
@@ -173,0 +177,0 @@ parent = body; |
{ | ||
"name": "angular-stackables", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "angular-stackables", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
36401
951
0