gitbook-plugin-toc-toggle
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -28,2 +28,3 @@ require(["gitbook", "jQuery"], function(gitbook, $) { | ||
gitbook.events.bind("page.change", function() { | ||
var $chapter = $('li.chapter.active'); | ||
@@ -34,2 +35,6 @@ bindEvent($chapter) | ||
$(function() { | ||
$(document).on('click', 'a', function(event){ | ||
location.reload(true); | ||
}); | ||
$(document).on('click', 'span', function(event){ | ||
@@ -36,0 +41,0 @@ event.stopPropagation(); |
{ | ||
"name": "gitbook-plugin-toc-toggle", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "a plugins for gitbook for toc-toggle", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1624
47