[VISJSTimeline] Tooltip shown twice

Forge Component
Published on 2017-04-19 by Jorge Martins
7 votes
Published on 2017-04-19 by Jorge Martins

There is a problem with the tooltip, I don't think it's something specific to my environment, can it be?

So it shows the fine tooltipster tooltip, but at the same time the default one:

I understand that you are using 3rd party tooltipster plus vis, but maybe you know what is the problem or if there is a workaround?

I have tested a lot and came to the conclusion that this is caused by the timeline itself, I mean if I use the same tooltipster initialization call on the same screen for another element - it shows good for it, but with the timeline there is such problem. I tried to develop javascript to remove the title attribute, but it doesn't seem to work, it seems that the title is always re-added.

Is there anything that can be done with this?

Hello Igor.

To hide the titles you must implement this javascript

window.onload = function() {
    var links = document.getElementsByTagName("a");
    for (var i = 0; i < links.length; i++) {
        var link = links[i];
        link.onmouseover = function() {
            this.setAttribute("org_title", this.title);
            this.title = "";
        link.onmouseout = function() {
            this.title = this.getAttribute("org_title");

Try it here