Good day!

I can not understand. The site has a modal window in which there is an svg image. I need to display hints on hovering to polygons in svg. Plugin connect like this:

$('polygon').tooltip({container: '#svg-inner svg g', html: true}) 

As a result, each time you hover on the polygon creates a new layer.

 <div class="tooltip fade top" role="tooltip" id="tooltip828254" style="top: 0px; left: 0px; display: block;"> <div class="tooltip-arrow"></div> <div class="tooltip-inner">Подсказка</div> </div> 

Which is then removed. The prompt itself is not visible. How to catch such a situation?

Bootstrap 2.3

    1 answer 1

    Repaired The fact is that when BS Tooltip is used for a modal window, the container for this tooltip is exactly that modal-content to which the tooltip should respond. In my case:

     $('polygon').tooltip({container: '#sector .modal-content', html: true})