Lightbox 2 bugfix

There is a bug in Lightbox 2 slideshow. When an image has no title during slideshow it shows the title of previous or next image title. To fix this problem add in lightbox.js

else{
   this.caption.update("").show();
}

after

// if caption is not null
if (this.imageArray[this.activeImage][1] != ""){
   this.caption.update(this.imageArray[this.activeImage][1]).show();
}
  • Share/Bookmark
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave a Reply

*





Info