I'm using Twitter Bootstrap 2.3.2 and I'm registering a popover to open whenever a td with a selector is hovered over. However I have noticed within the console that the content callback is being trigger twice. Is there a way to prevent this from happening?
$('#table-data').popover({
selector: '.td-popover',
trigger : 'hover',
content : function () {
console.log(this, arguments)
return 'hello';
}
});
<table id="table-data">
<tbody>
<tr>
<td></td>
<td class="td-popover"></td>
<td></td>
<td class="td-popover"></td>
</tr>
</tbody>
</table>