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

Initialize tabcollapse even when it is hidden

Open GregOnNet opened this issue 8 years ago • 1 comments

Hey,

thanks for provding bootstrap-tabcollapse. It really helps me out creating the mobile <-> desktop switch on my own.

In my project I initialize bootstrap-tabcollapse in a container having the css-property display: none set. Till now you check for is(':visible') to decide whether to show Tabs or Accordion I updated the condition to look for the configured hidden classes (default: 'hidden-xs').

Hope this helps you, too.

Kind Greg

GregOnNet avatar May 31 '16 14:05 GregOnNet

Hi,

I just added some commits making the detection whether to show tabs or accordion simpler. I also had to add a package.json to be able install the package via npm from my own git-repository.

Kinds Greg

GregOnNet avatar Jun 01 '16 10:06 GregOnNet