New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-plugin-toc-toggle

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-toc-toggle - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

5

book/plugin.js

@@ -38,5 +38,6 @@ require(["gitbook", "jQuery"], function(gitbook, $) {

$(function() {
$(document).on('click', '.chapter span', function(e){
$(document).on('click', 'span', function(event){
event.stopPropagation();
$('li.chapter.active').removeClass('active')
var $active = $(this).closest('.chapter').addClass('active')
var $active = $(event.target).closest('.chapter').addClass('active')
bindEvent($active)

@@ -43,0 +44,0 @@ })

2

package.json
{
"name": "gitbook-plugin-toc-toggle",
"version": "0.0.4",
"version": "0.0.5",
"description": "a plugins for gitbook for toc-toggle",

@@ -5,0 +5,0 @@ "main": "index.js",

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