Created by: tiesont
There are times when an <ol>
is the correct node to use for a list, but the current tab() function will only work with either <ul>
or <nav>
.
This PR changes ACTIVE_UL
to ACTIVE_LIST
and adds nodeName === 'OL'
to the two checks for the tab button's parent node.