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

Probs with Bootstrap 3.3.5 / jquery 3.0 #64

Open manu37 opened 7 years ago

manu37 commented 7 years ago

Doesn't work anymore on Bootstrap 3.3.5/jquery 3.0 since .context has removed. Any ideas?

lincolnlemos commented 7 years ago

Hey @manu37. I got same error..

Replace: var current = $( e.target ).context.id.replace( /collapse-/g, '#' ); For var current = $( e.target ).attr('id').replace( /collapse-/g, '#' );

manu37 commented 7 years ago

In the meantime I solved it with var current = $( e.target )[0].id.replace( /collapse-/g, '#' ); Any differences?