Clear slides after closing the gallery. Fixes showing the first image next time expose is opened.

This commit is contained in:
Nathan Gray 2015-01-19 20:20:02 +00:00
parent ff2f486c3f
commit 5d93df0fbd

View File

@ -80,7 +80,7 @@ function expose (widget)
displayTransition: true, displayTransition: true,
// Defines if the gallery slides are cleared from the gallery modal, // Defines if the gallery slides are cleared from the gallery modal,
// or reused for the next gallery initialization: // or reused for the next gallery initialization:
clearSlides: false, clearSlides: true,
// Defines if images should be stretched to fill the available space, // Defines if images should be stretched to fill the available space,
// while maintaining their aspect ratio (will only be enabled for browsers // while maintaining their aspect ratio (will only be enabled for browsers
// supporting background-size="contain", which excludes IE < 9). // supporting background-size="contain", which excludes IE < 9).