From 5668b927f685240f18a2fe0388e19f78903bc4cf Mon Sep 17 00:00:00 2001 From: oupala Date: Mon, 3 Jun 2019 21:09:16 +0200 Subject: [PATCH] fix: add gif extension to image gallery viewer --- apaxy/theme/apaxy-lightgallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apaxy/theme/apaxy-lightgallery.js b/apaxy/theme/apaxy-lightgallery.js index 6ccfb88..5e78dea 100644 --- a/apaxy/theme/apaxy-lightgallery.js +++ b/apaxy/theme/apaxy-lightgallery.js @@ -1,7 +1,7 @@ var imageSelector = [ 'tr:not(.parent) td.indexcolname a[href$=".png"]', 'tr:not(.parent) td.indexcolname a[href$=".jpg"]', - 'tr:not(.parent) td.indexcolname a[href$=".jpeg"]', + 'tr:not(.parent) td.indexcolname a[href$=".gif"]', ].join(', '); lightGallery(document.getElementById('indexlist'), {