Skip to content

Commit

Permalink
Reverting last two commits more or less.
Browse files Browse the repository at this point in the history
The changes of the last two commits causes the gallery to disappeared in firefox (MS Edge is working).
  • Loading branch information
mfg92 committed Nov 21, 2018
1 parent b61af9a commit acb921c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/shortcodes/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<div>
<a href="{{ $original.RelPermalink }}" class="galleryImg">
<img src="{{ $thumbnail.RelPermalink }}"
width="{{ $thumbnailImgData.Width }}" height="{{ $thumbnailImgData.Height }}"
style="width: initial; max-width: initial;"/>
width="{{ $thumbnailImgData.Width }}" height="{{ $thumbnailImgData.Height }}"/>
<!--style="width: initial; max-width: initial;"/>-->
</a>
</div>
{{ end }}
Expand All @@ -64,7 +64,7 @@
rowHeight : {{ $rowHeight }},
margins : {{ $margins }},
border : 0,
waitThumbnailsLoad : false,
//waitThumbnailsLoad : false,
lastRow : 'justify',
})
.on('jg.complete', function () {
Expand Down

0 comments on commit acb921c

Please sign in to comment.