Created by: m157y
It's like one of pull-requests before: https://github.com/twitter/bootstrap/pull/4200 But with small differences. First of all, this fix respects options ( $().tooltip({position: 'fixed'}) ) and second thing, that this is support popovers. I was have this problem with popovers and tried some fixes from google, but everything was wrong. Pull request by ericmatthys was good, but doesn't support popovers, so i decided slightly extend it.