h5-menudropdown
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "h5-menudropdown", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/h5-menudropdown.js", |
@@ -44,2 +44,3 @@ var React = require('react'); | ||
_html.addEventListener("click", this.fecha_menu ); | ||
if(icon_abs_pos){ | ||
@@ -100,2 +101,9 @@ if(icon_abs_pos.top <= (altura_html/2) && icon_abs_pos.left <= (largura_html/2)){ | ||
this.closeDropDown(); | ||
}, | ||
fecha_menu: function(e){ | ||
if(this.isDropDown()) { | ||
this.closeDropDown(); | ||
} | ||
else | ||
return; | ||
} | ||
@@ -102,0 +110,0 @@ }); |
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
914420
3925