Currently when there is one slide, the links and navigations don't display, but the pause/play button is shown. This is more of an issue in flexslider library, but I think it is much easier to fix in the module.

Files: 

Comments

MiroslavBanov’s picture

Status:Active» Needs review
StatusFileSize
new627 bytes
Test request sent.
[ View ]

Patch attached.

alexkb’s picture

Works great for us, thanks MiroslavBanov!

+1 to commit.

GiorgosK’s picture

While we are at it why don't we make it more general ?

don't call the flexslider function at all when there is only one slide

for example the Touch (swipe) functionality on mobiles is working
when the Loop Slideshow is checked even with just one image/slide

is there a solution that encompasses all cases ?
when only 1 slide don't use flexslider at all or something similar
as an option or otherwise would be nice