I am having problem with Tooltipster
. Can't figure out why 'open' is not working, while according to documentation it should?
I have setup it on jsfiddle
HTML
<button id="broken" title="Broken Tooltip">Broken</button>
JS:
$('#broken').on('click', function(e) {
$('#broken').tooltipster('open');
});
But it throws error:
Uncaught Error: Unknown method .tooltipster("open")
<...?
Replacing 'open'
with 'destroy'
for example works fine.
Anyone can figure out what I am doing wrong? Or broken tooltipster itself?
There is trigger:'click' in tooltipster