前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
(function() { $(function() { $("body").on("click", ".js-details-target", function() { var container; container = $(this).closest(".js-details-container"); return container.toggleClass("open"); }); return $("body").on("click", ".js-details-expand", function(e) { $(this).next('.js-details-content').removeClass("hide"); $(this).hide(); return e.preventDefault(); }); }); }).call(this);