Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fg-collapsible

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fg-collapsible - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc