fg-collapsible
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "fg-collapsible", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Toggle your collapsible content", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -75,2 +75,3 @@ /* collapsible extension for navbar functionality */ | ||
.bind( "expand", function( e ){ | ||
var $childCollapsibles = $( e.target ).find( "." + pluginName + "-expanded." + itemMenuClass ); | ||
if( $( e.target ).is( this ) ){ | ||
@@ -80,2 +81,5 @@ $moreBtn.attr( "tabindex", "-1" ); | ||
} | ||
else if( !$childCollapsibles.length ) { | ||
$collapsible.data( pluginName ).collapse(); | ||
} | ||
}) | ||
@@ -82,0 +86,0 @@ .bind( "collapse", function( e ){ |
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
337931
9538