web/assets/js/dist/toc.min.js

1 line
273 B
JavaScript
Raw Normal View History

2019-11-24 19:19:03 +03:00
$(function(){if($("#post-wrap .post-content h1").length==0&&$("#post-wrap .post-content h2").length==0&&$("#post-wrap .post-content h3").length==0&&$("#post-wrap .post-content h4").length==0&&$("#post-wrap .post-content h5").length==0){$("#toc-wrap").addClass("hidden")}});