Get the text for tooltip with $.data (not $.attr)
Created by: keriati
Hi!
At the moment you are getting the text for tooltip like this:
title = $e.attr('data-original-title')
The bad thing is, if i want to use the tooltip with a "created" element like:
$('<a/>').data('original-title', 'This is some text');
it won't work.
Maybe switch
.attr('data-original-title')
to
.data('original-title')
in https://github.com/twitter/bootstrap/blob/master/js/bootstrap-tooltip.js