app/helpers/blacklight/hierarchy_helper.rb in blacklight-hierarchy-5.4.0 vs app/helpers/blacklight/hierarchy_helper.rb in blacklight-hierarchy-6.0.0

- old
+ new

@@ -20,11 +20,11 @@ bs_toggle: 'collapse', target: "##{controls}", bs_target: "##{controls}" }, class: 'toggle-handle') do - tag.span(Blacklight::Hierarchy::Engine.config.closed_icon, :'aria-hidden' => 'true', class: 'closed') + - tag.span(Blacklight::Hierarchy::Engine.config.opened_icon, :'aria-hidden' => 'true', class: 'opened') + tag.div( :'aria-hidden' => 'true', class: 'closed toggle-icon') + + tag.div( :'aria-hidden' => 'true', class: 'opened toggle-icon') end end # -------------------------------------------------------------------------------------------------------------------------------- # below are methods pertaining to the "rotate" notion where you may want to look at the same tree data organized another way