Sha256: b4b93f5638b92484c7e882470268589cf19e6261fb499cbd768e19cea162f5ed
Contents?: true
Size: 950 Bytes
Versions: 2
Compression:
Stored size: 950 Bytes
Contents
{% include plugins/comments/disqus.html %} {% include plugins/comments/waline_js.html %} {% include plugins/comments/artalk_js.html %} {% include plugins/comments/giscus_js.html %} {% include plugins/comments/twikoo_js.html %} <script> $(document).ready(function () { if ($(".comment").length == 3) { var comment_status = $("#cmn-toggle-4")[0].checked; if (comment_status) { $(".comment:last > div").addClass("active"); } else { $(".comment:nth-last-child(2) > div").addClass("active"); } $("#cmn-toggle-4").click(function () { $(".comment:nth-last-child(2) > div").toggleClass("active"); $(".comment:last > div").toggleClass("active"); }) } else { if ($(".comment").length == 2) { $(".comment:last > div").addClass("active") } } }) </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-h2o-ac-1.5.0 | _includes/plugins/comments/comments_js.html |
jekyll-theme-h2o-ac-1.4.0 | _includes/plugins/comments/comments_js.html |