Uncaught TypeError – On Front-Page (when only one blog entry)

Home Forums Auberge Uncaught TypeError – On Front-Page (when only one blog entry)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19217

    katw
    Participant

    Uncaught TypeError – On Front-Page (when only one blog entry)

    Resolved

    Hi,

    Just thought you may like to know the theme (v2.4) is throwing a Javascript error on the home page if you have only one post (ie not enough data for masonry layout).

    Error is:

    Uncaught TypeError: $postsContainers.imagesLoaded is not a function

    at:

    • scripts-global.js line 221
    • scripts-global.js line 539
    #19218

    Oliver Juhas
    Keymaster

    Hi Kat,

    Thank you for spotting. That’s actually very weird as that code is being triggered only if Masonry JavaScript library has been loaded, and that library has a dependency for imagesLoaded library then. So, both should load and not throw any issue. And I can actually see they are loaded correctly on your website.

    Anyway, I will investigate what’s going on and fix the issue in next theme update. Thanks again for spotting, good catch :)

    Best regards,

    Oliver Juhas
    WebMan Design

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.