We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c167892 commit 6d5f99aCopy full SHA for 6d5f99a
src/js/lightbox.js
@@ -41,8 +41,9 @@
41
Lightbox.defaults = {
42
albumLabel: 'Image %1 of %2',
43
alwaysShowNavOnTouchDevices: false,
44
- fadeDuration: 500,
+ fadeDuration: 600,
45
fitImagesInViewport: true,
46
+ imageFadeDuration: 600,
47
// maxWidth: 800,
48
// maxHeight: 600,
49
positionFromTop: 50,
@@ -363,7 +364,7 @@
363
364
// Display the image and its details and begin preload neighboring images.
365
Lightbox.prototype.showImage = function() {
366
this.$lightbox.find('.lb-loader').stop(true).hide();
- this.$lightbox.find('.lb-image').fadeIn('slow');
367
+ this.$lightbox.find('.lb-image').fadeIn(this.options.imageFadeDuration);
368
369
this.updateNav();
370
this.updateDetails();
0 commit comments