twitter/bootstrap — Issue #556: data-content is not used with popover.js
Author: antoineguiral
Created: 2011-11-05 02:13:53+00:00
State: open

Everything works fine with bootstrap 1.3.0.

It seems the attr "data-content" is not used to fill the popover box (data-original-title works fine) with v1.4.0.

I use one popover for many elements and I change on the fly the content with something like that :

$("#mouseover_cursor").attr("data-content", tooltipHtml).attr("title", titleHtml).popover({
html: true,
trigger:'manual'
})
$("#mouseover_cursor").popover('show');

FYI it works fine with twipsy 1.4.0 and popover 1.3.0 if it can helps :)