Trying to include the latest version of Freemasonry, I do not know what this error means. In the console, I get this message:
Bad masonry element: [object Object] plugins.js:16 y plugins.js:16 n plugins.js:16 (anonymous function) script.js:24 c jquery.js:3048 p.fireWith jquery.js:3160 x.extend.ready jquery.js:433 q
My script is
var $container = $('#container'); $container.imagesLoaded( function(){ var msnry = new Masonry( $container, { columnWidth: 320, itemSelector: '.item' }); });
I have included the imagesLoaded plugin, the same error is displayed even if I exclude it. This seems to apply to my plugins.js file, where I saved the code for Freemasonry, but I didn't change anything.
source share