mizzao / meteor-bootstrap-3

Bootstrap 3 package for meteor
37 stars 10 forks source link

Tooltips and Popovers Not Working. #4

Closed evolross closed 9 years ago

evolross commented 9 years ago

If I cut and paste this example button from http://getbootstrap.com/javascript/#tooltips

<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</button>

The tooltip doesn't work. Same with popover examples.

I'm using the latest Firefox and Meteor 0.9.2. Other things like tab-panes and modals work fine.

evolross commented 9 years ago

Whoops, I wasn't initializing them. For anyone who finds them not working, in your Template.someTemplate.rendered add $('element').tooltip();. My bad.

dandv commented 9 years ago

The official twbs:bootstrap package does the initialization for you.