Update tooltip.js positionTooltip #65
Reference in New Issue
Block a user
Delete Branch "Auto-position-class-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This is a "simple" fix to address an issue I noticed with tooltip/popover positioning for "auto" placement. This also fixes the arrow to show up on the correct side, as it's based on the class applied to the popover for example.
Not sure if there is a cleaner way to do this, but this seems to work well.
Changes
positionTooltipfn to apply the proper class to tooltips/popovers when using "auto" placement determinationleftclass, and notright.