mirror of
https://github.com/danog/sass-site.git
synced 2024-12-17 11:57:21 +01:00
79097d0fe1
Because we weren't doing this yet, we weren't actually loading the redirect.js JS code at all. This also gets rid of some unused JS.
17 lines
383 B
JavaScript
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");
|
|
});
|
|
});
|
|
});
|