sass-site/source/assets/js/components/impl-status.js
Jonny Gerig Meyer d0e1afaf0b
add sass
2023-01-06 17:38:23 -05:00

17 lines
383 B
JavaScript

$(function() {
$(".impl-status").each(function() {
var statusBar = $(this);
var expandLink = $(this).find("a");
if (expandLink == null) return;
var details = $(this).next();
if (!details.hasClass("sl-c-callout")) return;
details.hide();
expandLink.click(function() {
details.toggle();
expandLink.toggleClass("expanded");
});
});
});