masonry does not load

Created on 16 May 2020, about 4 years ago
Updated 20 April 2023, about 1 year ago

I installed Masonry API module as instructed. The status report page gives

jQuery Images Loaded 4.1
jQuery Masonry 4.2.2

No errors.
When I tried to use

var elem = document.querySelector('.grid');
var msnry = new Masonry( elem, {
// options
itemSelector: '.grid-column',
columnWidth: 200
});

I receive the "Masonry is not defined" error.
Can't understand what can be wrong. Please help to resolve the issue

πŸ’¬ Support request
Status

Closed: outdated

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France Dom.

    Please feel free if still experimenting.

    My guess is you forgot about the "dist" folder on the masonry path which is quite often the case.

    I am closing as outdated since Drupal 7 is long discouraged.

Production build 0.69.0 2024