I'm having an issue where if I apply the class "tooltip" to an object it will disappear, but this only happens when I'm using bootstrap and I'm wondering if anyone knows a workaround. I will provide examples of both.
Here is without bootstrap:
$(document).ready(function() {
$('.tooltip').tooltipster();
});
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.0.5/css/tooltipster.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.0.5/js/jquery.tooltipster.min.js"></script>
<i class="fa fa-facebook-square fa-2x tooltip" title="Working!"></i>
Here is the snippet with bootstrap:
$(document).ready(function() {
$('.tooltip').tooltipster();
});
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.0.5/css/tooltipster.min.css" rel="stylesheet"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.0.5/js/jquery.tooltipster.min.js"></script>
<i class="fa fa-facebook-square tooltip" title="Working!"></i>
If you go to the second one where the icon is hidden and hover over the top left you can see the tooltip show up but it doesn't help me if my icon is hidden.