update main branch #47

Merged
jorge merged 166 commits from develop into main 2021-12-01 11:20:13 +01:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit e951669cff - Show all commits

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,17 @@
$(function(){
$("#site-list").on( "click", ".accordion-title", function() {
var title = this
var content = $(this).closest('.accordion-item')
.find('.accordion-content')
if ($(content).is(':visible')) {
$(content).slideUp('fast')
$(this).closest('.accordion-item').removeClass('is-active')
$(title).attr('aria-expanded', false)
} else {
$(content).slideDown('fast')
$(this).closest('.accordion-item').addClass('is-active')
$(title).attr('aria-expanded', true)
}
return false;
});