Как можно реализовать клик по ссылки чтобы вся область li была ссылкой?
(document).ready(function(){
$('.accordion-trigger').on('click', function(e){
e.preventDefault();
var $this = $(this);
item = $this.closest('.accordion-item'),
list = $this.closest('.accordion-list'),
items = list.find('.accordion-item'),
content = item.find('.accordion-inner'),
otherContent = list.find('.accordion-inner'),
duration = 300;
if (!item.hasClass('active')) {
items.removeClass('active');
item.addClass('active');
otherContent.stop(true, true).slideUp(duration);
content.stop(true, true).slideDown(duration);
} else {
content.stop(true, true).slideUp(duration);
item.stop(true, true).removeClass('active');
}
});
});