lightbox - remove buttons on mobile

This commit is contained in:
rimu 2024-03-17 18:32:27 +13:00
parent ef0eee5b02
commit 66a4612854

View file

@ -25,7 +25,6 @@ function setupLightboxGallery() {
baguetteBox.run('.post_list_masonry_wide', { baguetteBox.run('.post_list_masonry_wide', {
fullScreen: false, fullScreen: false,
titleTag: true, titleTag: true,
buttons: true,
preload: 5, preload: 5,
captions: function(element) { captions: function(element) {
return element.getElementsByTagName('img')[0].title; return element.getElementsByTagName('img')[0].title;
@ -36,7 +35,6 @@ function setupLightboxGallery() {
baguetteBox.run('.post_list_masonry', { baguetteBox.run('.post_list_masonry', {
fullScreen: false, fullScreen: false,
titleTag: true, titleTag: true,
buttons: true,
preload: 5, preload: 5,
captions: function(element) { captions: function(element) {
return element.getElementsByTagName('img')[0].title; return element.getElementsByTagName('img')[0].title;