From bc237845b99ee6e270498c863788af57cd2d0b77 Mon Sep 17 00:00:00 2001 From: Franzz Date: Tue, 12 Apr 2022 19:18:18 +0200 Subject: [PATCH] Remove lightbox image number --- script/lightbox.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/script/lightbox.js b/script/lightbox.js index 0a924dd..16054a8 100644 --- a/script/lightbox.js +++ b/script/lightbox.js @@ -694,7 +694,10 @@ //ADDED-END } - if (this.album.length > 1 && this.options.showImageNumberLabel) { + //ADDED-START + /* + //ADDED-END + if (this.album.length > 1 && this.options.showImageNumberLabel) { var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length); //ADDED-START //this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast'); @@ -703,7 +706,10 @@ } else { this.$lightbox.find('.lb-number').hide(); } - + //ADDED-START + */ + //ADDED-END + this.$outerContainer.removeClass('animating'); this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() {