Bug in the masonry layout
-
Hi, I think I found a bug in the masonry layout. It did not display the photos in columns, they were shown full width.
I found that the idealColumns variable was not passed correctly to the script that injects the css.Turning the value into string works correctly!
This is the change I made, from:
$ grid.css ('column-count', idealColumns);
to
$ grid.css ('column-count', idealColumns.toString ());
on line 1097 of the photonic-swipebox.js file.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Bug in the masonry layout’ is closed to new replies.