Bootstrap popover trigger and html option together do not work

2

Does anyone know why when I put the trigger together with the html: true popover stops working?

HTML:

<a href="#" class="popoverr" role="button" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue.">
   <i class="fa fa-money"></i> 10 Pontos
</a>

JS:

$(".popoverr").popover({
    html: true,
    trigger: 'focus' // comente o trigger para o popover funcionar.
});

link

    
asked by anonymous 01.08.2014 / 03:08

1 answer

2

focus makes more sense for inputs, not for elements. My suggestion is to use both hover click .

$(".popoverr").popover({
    html: true,
    trigger: 'click hover'
});

link

    
01.08.2014 / 08:11