Template:Team:Bonn:SlideshowJS
From 2013.igem.org
(Difference between revisions)
Line 680: | Line 680: | ||
// if the slider is responsive && the calculated width is less than the max width | // if the slider is responsive && the calculated width is less than the max width | ||
if(settings.responsive) | if(settings.responsive) | ||
- | if( responsive.width < settings.width | + | if( responsive.width < settings.width ){ |
state.slidewidth = responsive.width; | state.slidewidth = responsive.width; | ||
} | } |
Latest revision as of 18:29, 1 October 2013