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.7 to 0.0.8

7

book/plugin.js

@@ -28,3 +28,2 @@ require(["gitbook", "jQuery"], function(gitbook, $) {

gitbook.events.bind("page.change", function() {
var $chapter = $('li.chapter.active');

@@ -36,5 +35,7 @@ bindEvent($chapter)

$(document).on('click', 'a', function(event){
location.reload(true);
if($(this).attr('href')=='./'){
location.reload(true);
}
});
$(document).on('click', 'span', function(event){

@@ -41,0 +42,0 @@ event.stopPropagation();

{
"name": "gitbook-plugin-toc-toggle",
"version": "0.0.7",
"version": "0.0.8",
"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