Created by: Yohn
This is an old pull request
Both of these bugs have been fixed in 2.3.0
please refer to the following requests-- #6321 to fix the insert strategy and use a container option #6176 fixes the tooltip('toggle') feature which is currently broken.
refer to #5753 (closed)
.tooltip('toggle') and .popover('toggle') was broken, so heres the fix
took me forever to get this request to send right, but I think I got it this time
thanks to @demike for helping correct the problem
Also, within the pull request is an alternate way of doing the insertAfter or appendTo options noted within #5830 to fix the problems within #5687 (closed)
I found out after I changed my -wip branch that it updates this pull requests with my changes, thats why they're in the same pull
How to use the new container option..
you can use html5 elements -- data-container="body"
or with javascript - $().tooltip({ container: 'body' })
and the container value, can be any element on the page, and for tooltips within modals I've been using container: '.modal'
or '.modal-body'