Skip to content

Commit 121649a

Browse files
authored
Merge pull request #352 from clowder-framework/fix-masonry-space
fix masonry
2 parents 8ba7532 + 110b408 commit 121649a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111
- swagger lint action
1212
- When downloading a file with a `'` in the name it would save the file as blob
13-
-
13+
- Fix for a rare race condition with masonry where tiles could end up overlapping in space page.
14+
1415
### Changed
1516
- Changed `Enabled By SuperAdmin` to read `Enabled by Server Admin` [#344](https://github.com/clowder-framework/clowder/issues/344)
1617

app/views/spaces/space.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h3>@Messages("collections.title")</h3>
148148
match.masonry();
149149

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

0 commit comments

Comments
 (0)