Remove lightbox image number

This commit is contained in:
2022-04-12 19:18:18 +02:00
parent 5ee75e2724
commit 7cf64b7f3d

View File

@@ -694,7 +694,10 @@
//ADDED-END //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); var labelText = this.imageCountLabel(this.currentImageIndex + 1, this.album.length);
//ADDED-START //ADDED-START
//this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast'); //this.$lightbox.find('.lb-number').text(labelText).fadeIn('fast');
@@ -703,7 +706,10 @@
} else { } else {
this.$lightbox.find('.lb-number').hide(); this.$lightbox.find('.lb-number').hide();
} }
//ADDED-START
*/
//ADDED-END
this.$outerContainer.removeClass('animating'); this.$outerContainer.removeClass('animating');
this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() { this.$lightbox.find('.lb-dataContainer').fadeIn(this.options.resizeDuration, function() {