bluetie
bluetie

Reputation: 5

Tooltipster worked. Now : TypeError: $('.tooltip').tooltipster is not a function

I'm rebuilding a simple html/css website meant to be available in 2 languages. French and english. Both need tooltipster. It is working perfectly on the french page. But not at all on the english page.

Error :

TypeError: $('.tooltip').tooltipster is not a function. (In '$('.tooltip').tooltipster( )', '$('.tooltip').tooltipster' is undefined)

The function is define this way in the html.

$(document).ready(function() {
    $('.tooltip').tooltipster();
});

Why is it not working when the english page is the exact copy of the french page ?

Visible at : www.krypton.fr/krypton3/index.html ( for the french page ) www.krypton.fr/krypton3/index-en.html ( for the english page )

Upvotes: 0

Views: 1883

Answers (1)

skobaljic
skobaljic

Reputation: 9644

It is not an exact copy, you have two scripts included twice on english page, which probably causes the error:

enter image description here

Upvotes: 3

Related Questions