mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Use arrows instead of plus and minus for collapsibles/expanders (#153)
This commit is contained in:

committed by
Hollie Kay

parent
f60d1ca0ce
commit
c2fbcf4fa1
@@ -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');
|
||||
|
2
public/js/site.min.js
vendored
2
public/js/site.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user