2023-06-19 23:55:26 +02:00
|
|
|
$(() => {
|
2023-01-09 20:10:02 +01:00
|
|
|
$('.impl-status').each(function () {
|
2023-01-09 21:15:35 +01:00
|
|
|
const statusBar = $(this);
|
|
|
|
const expandLink = statusBar.find('a');
|
2023-06-19 23:55:26 +02:00
|
|
|
// eslint-disable-next-line eqeqeq
|
2023-03-08 22:14:25 +01:00
|
|
|
if (expandLink == null) {
|
|
|
|
return;
|
|
|
|
}
|
2023-01-06 22:40:29 +01:00
|
|
|
|
2023-01-09 21:15:35 +01:00
|
|
|
const details = statusBar.next();
|
2023-03-08 22:14:25 +01:00
|
|
|
if (!details.hasClass('sl-c-callout')) {
|
|
|
|
return;
|
|
|
|
}
|
2023-01-06 22:40:29 +01:00
|
|
|
|
|
|
|
details.hide();
|
2023-06-19 23:55:26 +02:00
|
|
|
expandLink.on('click', () => {
|
2023-01-06 22:40:29 +01:00
|
|
|
details.toggle();
|
2023-01-09 20:10:02 +01:00
|
|
|
expandLink.toggleClass('expanded');
|
2023-01-06 22:40:29 +01:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|