From 66a46128542c2c0423e8b176d656d29797922ed0 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Sun, 17 Mar 2024 18:32:27 +1300 Subject: [PATCH] lightbox - remove buttons on mobile --- app/static/js/scripts.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/static/js/scripts.js b/app/static/js/scripts.js index 3b7b65b5..4e18b904 100644 --- a/app/static/js/scripts.js +++ b/app/static/js/scripts.js @@ -25,7 +25,6 @@ function setupLightboxGallery() { baguetteBox.run('.post_list_masonry_wide', { fullScreen: false, titleTag: true, - buttons: true, preload: 5, captions: function(element) { return element.getElementsByTagName('img')[0].title; @@ -36,7 +35,6 @@ function setupLightboxGallery() { baguetteBox.run('.post_list_masonry', { fullScreen: false, titleTag: true, - buttons: true, preload: 5, captions: function(element) { return element.getElementsByTagName('img')[0].title;