Browse Source

fixed toc js

dependabot/npm_and_yarn/ini-1.3.7
rdrew 4 years ago
parent
commit
8847213c62
  1. 2
      js/js.js
  2. 2
      src/js/js.js

2
js/js.js

@ -111,7 +111,7 @@
attach: function attach(context, settings) {
$('.toc a').on('click',function(e) {
$('.toc li a').on('click',function(e) {
e.preventDefault();
var offset = 100;
var target = this.hash;

2
src/js/js.js

@ -111,7 +111,7 @@
attach: function attach(context, settings) {
$('.toc a').on('click',function(e) {
$('.toc li a').on('click',function(e) {
e.preventDefault();
var offset = 100;
var target = this.hash;

Loading…
Cancel
Save