bootstrap-tabcollapse icon indicating copy to clipboard operation
bootstrap-tabcollapse copied to clipboard

Fix for targeting all li's on page

Open AwlO opened this issue 8 years ago • 4 comments

Fix for issue where all first li's across the page get an active class when running showTabs

AwlO avatar Mar 28 '17 16:03 AwlO

Hi @AwlO ! Could you explain what problem does your solution fix?

DimaSavchenko avatar May 19 '17 13:05 DimaSavchenko

When you have more li's with the class active on your page, it doesn't take into account which are from tabs and which aren't. This solutions fix that, so only search for active li inside the tabs.

germancasares avatar Jul 20 '17 09:07 germancasares

Late response, but yeah, exactly as @german95n said

AwlO avatar Aug 10 '17 11:08 AwlO

I just came up with a similar fix.

jorisvm avatar Dec 05 '17 11:12 jorisvm