openam / bootstrap-responsive-tabs

Bootstrap responsive tabs are tabs that switch to collapsible components (accordions) when resized.
openam.github.io/bootstrap-responsive-tabs
MIT License
132 stars 60 forks source link

Update responsive-tabs.js #43

Open mav2287 opened 8 years ago

mav2287 commented 8 years ago

By making the following changes you allow the actual tabs themselves to be above(before) or below(after) the panel content. Without this change if the code has the order of

mav2287 commented 8 years ago

This should now account for tabs out of order and tabs with panels in them. Without this out of order panels won't work and panels in a tab will get messed up when switching back to normal mode.

mav2287 commented 8 years ago

Sorry about doing so many commits stupid copy paste didn't work right. The last commit has the patch for allowing for panels within tab content as well as the fix for the tabs below content

openam commented 8 years ago

Please squash all the commits together, and then rebase.