Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize galleryHeightToSet in constructor #374

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 dist/css/justifiedGallery.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* justifiedGallery - v3.8.1
* http://miromannino.github.io/Justified-Gallery/
* Copyright (c) 2020 Miro Mannino
* Copyright (c) 2022 Miro Mannino
* Licensed under the MIT license.
*/
.justified-gallery {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/justifiedGallery.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* justifiedGallery - v3.8.1
* http://miromannino.github.io/Justified-Gallery/
* Copyright (c) 2020 Miro Mannino
* Copyright (c) 2022 Miro Mannino
* Licensed under the MIT license.
*/
.justified-gallery {
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jquery.justifiedGallery.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* justifiedGallery - v3.8.1
* http://miromannino.github.io/Justified-Gallery/
* Copyright (c) 2020 Miro Mannino
* Copyright (c) 2022 Miro Mannino
* Licensed under the MIT license.
*/
(function (factory) {
Expand Down Expand Up @@ -73,7 +73,7 @@
this.checkWidthIntervalId = null;
this.galleryWidth = $gallery.width();
this.$gallery = $gallery;

this.galleryHeightToSet = 0;
};

/** @returns {String} the best suffix given the width and the height */
Expand Down
4 changes: 2 additions & 2 deletions dist/js/jquery.justifiedGallery.min.js

Large diffs are not rendered by default.

Binary file modified dist/justifiedGallery.min.zip
Binary file not shown.
Binary file modified dist/justifiedGallery.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/js/justifiedGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var JustifiedGallery = function ($gallery, settings) {
this.checkWidthIntervalId = null;
this.galleryWidth = $gallery.width();
this.$gallery = $gallery;

this.galleryHeightToSet = 0;
};

/** @returns {String} the best suffix given the width and the height */
Expand Down