Thumbnail toggle function.
This commit is contained in:
parent
e10d4b91cf
commit
026de8c5ca
1 changed files with 8 additions and 0 deletions
|
@ -153,6 +153,14 @@ $('[data-action="expand-entity-list-details"]').click(function() {
|
|||
$('.entity-list.compact').find('p').not('.empty-text').slideToggle(240);
|
||||
});
|
||||
|
||||
// Toggle thumbnail::hide image and reduce grid size
|
||||
$(document).ready(function(){
|
||||
$('[data-action="expand-thumbnail"]').click(function(){
|
||||
$('.galleryItem').toggleClass("collapse");
|
||||
$('.galleryItem').find('img').slideToggle(50);
|
||||
});
|
||||
});
|
||||
|
||||
// Popup close
|
||||
$('.popup-close').click(function() {
|
||||
$(this).closest('.overlay').fadeOut(240);
|
||||
|
|
Loading…
Reference in a new issue