diff --git a/CHANGELOG.md b/CHANGELOG.md index c36d19968..0a805a829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - swagger lint action - When downloading a file with a `'` in the name it would save the file as blob -- +- Fix for a rare race condition with masonry where tiles could end up overlapping in space page. + ### Changed - Changed `Enabled By SuperAdmin` to read `Enabled by Server Admin` [#344](https://github.com/clowder-framework/clowder/issues/344) diff --git a/app/views/spaces/space.scala.html b/app/views/spaces/space.scala.html index 696b81112..363b67a3a 100644 --- a/app/views/spaces/space.scala.html +++ b/app/views/spaces/space.scala.html @@ -148,7 +148,7 @@

@Messages("collections.title")

match.masonry(); // layout Masonry again after all images have loaded - imagesLoaded( '.tiled-image', function() { + imagesLoaded( match, function() { match.masonry({ itemSelector: '.tiled-image', columnWidth: '.post-box',