Use arrows instead of plus and minus for collapsibles/expanders (#153)

This commit is contained in:
Frank van Gemeren
2016-11-19 01:18:24 +01:00
committed by Hollie Kay
parent f60d1ca0ce
commit c2fbcf4fa1
3 changed files with 7 additions and 7 deletions

View File

@@ -77,11 +77,11 @@ $(document).ready(function(){
expandLink.click( function(){
$(this).next().slideToggle('slow', function(){});
if ($(this).hasClass('showing')) {
$(this).find('span.expander').html('+');
$(this).find('span.expander').html('');
$(this).attr('aria-expanded', false);
}
else {
$(this).find('span.expander').html('-');
$(this).find('span.expander').html('');
$(this).attr('aria-expanded', true);
}
$(this).toggleClass('showing');