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

1 line
141 B
JavaScript
Raw Normal View History

$(function(){if($("#post-wrap .post-content h1").length==0&&$("#post-wrap .post-content h2").length==0){$("#toc-wrap").addClass("hidden")}});