This commit is contained in:
Van
2019-03-26 08:21:33 +08:00
parent 04be872d8c
commit e9cf230aba
12 changed files with 12 additions and 12 deletions

View File

@@ -28,7 +28,7 @@
*/
var Skin = {
init: function () {
const $article__toc = $('.article__toc')
var $article__toc = $('.article__toc')
$(window).scroll(function () {
if ($article__toc.length === 1) {
if ($('.article__bottom').offset().top < $(window).scrollTop()) {