• Resolved Paul Menard

    (@pmenard)


    Greetings. Love the Theme. Thanks.

    Just upgraded to version 1.5.4 of the Theme. After clearing cache and all I’m showing a JS error via Firebug. The error reads “Popover requires tooltip.js”. And appears to be from flat.min.js

    I’m not sure if this is something intended to users to resolve or simply a bug in the new version of the theme. For now I’ll be downgrading my live site and will gladly test a fix on my development site when needed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s an intentional error generated by this code:

    if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')

    So if the “tooltip” library doesn’t exist it throws that error. Is there an option to set a tooltip in the dashboard?

    Thread Starter Paul Menard

    (@pmenard)

    @andrew,

    Yes, sorry I know how the JS works and the reasoning. But to have the theme require the extra JS library ‘tooltip.js’ and not have it included as part of the theme itself is somewhat bad form. If this was noted somewhere in the dashboard as an alert that it requires some external plugin to add the functionality I would not have reported the issue.

    As far as I can tell there is not an option under the dashboard to control this.

    Thanks.

    That my mistake when including popover.js before tooltip.js
    This issue has been fixed on Flat 1.5.5

    Thanks.

    Thread Starter Paul Menard

    (@pmenard)

    @yoarts,

    Thanks! Look forward to the release of version 1.5.5.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Showing JS error about "Popover requires tooltip.js" after upgraded to version 1.5.4’ is closed to new replies.