1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

Remove the old collapse js/scss code.

This commit is contained in:
Henrik Hautakoski 2022-01-25 16:53:46 +01:00
parent 854317c90e
commit a9f2d41f13
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
4 changed files with 1 additions and 27 deletions

View file

@ -1,8 +0,0 @@
.collapse-trigger {
cursor: pointer;
}
.collapsed {
display: none !important;
}

View file

@ -9,7 +9,6 @@
@import "layout/footer";
@import "component/button";
@import "component/collapse";
@import "component/search";
@import "misc";

View file

@ -23,23 +23,6 @@ Alpine.data('searchComponent', alpine_search)
Alpine.start()
// ------------------------------------------
// Collapse
// ------------------------------------------
$('.collapse-trigger').click(function() {
// Find target via "data-target" attribute.
var target_id = $(this).attr('data-target');
if (target_id) {
var target = $(document).find('#' + target_id);
// Toggle "collapsed" class on target.
$(target).toggleClass('collapsed');
}
});
// ------------------------------------------
// Copy code blocks to clipboard
// ------------------------------------------

File diff suppressed because one or more lines are too long