fg-collapsible
Advanced tools
Comparing version 0.2.7 to 0.2.8
{ | ||
"name": "fg-collapsible", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Toggle your collapsible content", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -20,6 +20,8 @@ /* | ||
var $a = $( e.target ).closest( "a" ); | ||
$a.closest( "." + pluginName + "-content" ).prev().filter( "." + pluginName + "-header" ).html( $a.html() ); | ||
$a.closest( "." + pluginName ).data( pluginName ).collapse(); | ||
$select.val( $a.attr( "data-value" ) ); | ||
e.preventDefault(); | ||
if( $a.is( "[data-value]" ) ) { | ||
$a.closest( "." + pluginName + "-content" ).prev().filter( "." + pluginName + "-header" ).html( $a.html() ); | ||
$a.closest( "." + pluginName ).data( pluginName ).collapse(); | ||
$select.val( $a.attr( "data-value" ) ); | ||
e.preventDefault(); | ||
} | ||
}); | ||
@@ -26,0 +28,0 @@ } |
Sorry, the diff of this file is not supported yet
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
45715
799