Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

Append items in mosaicflow with ajax #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jquery.mosaicflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
inlineImages.each(function() {
var image = $(this);
var imageSizes = getImageSizes(image);
var actualHeight = (image.width() * imageSizes.height) / imageSizes.width;
var actualHeight = (image.width() * (imageSizes.height||1)) / (imageSizes.width||1);

height += actualHeight;
});
Expand Down
2 changes: 1 addition & 1 deletion jquery.mosaicflow.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.