Javascript error in Tooltipster implementation discovered in td_wp_admin

Posted in: Newspaper
Post count: 14

Around row 1998 in pretty printed version of the file, throwing error when something tries to use tooltipster

The code that’s calling Tooltipster works under default theme.

}
if (“string” === typeof b[0]) {
var f = “#*$~&”;
this.each(function() {
var c = a(this).data(“tooltipster-ns”);
if (c = c ? a(this).data(c[0]) : null) {
if (“function” === typeof c[b[0]])
var d = c[b[0]](b[1], b[2]);
else
throw Error(‘Unknown method .tooltipster(“‘ + b[0] + ‘”)’);
if (d !== c)
return f = d,
!1
} else
throw Error(“You called Tooltipster’s \”” + b[0] + ‘” method on an uninitialized element’);
});

Post count: 20688

Hi,

I could make a note of it and pass it along to the developer team. If possible please mention some more details about it, it will be much appreciated. Let me know.

Thanks

Post count: 14

Hi Simion,
thank you for replying. Tooltipster is a jQuery plugin, only the developers know why they have decided to use it and for what reasons. Mentioning Tooltipster should give them enough hints to review the implementation. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.