cycle icon indicating copy to clipboard operation
cycle copied to clipboard

Random is not showing anything with just one slide

Open raulgc90 opened this issue 14 years ago • 1 comments

The random option is not showing anything when there is just one image. I 'fixed it' (supposing that there is something wrong and it's not only me :p) by changing this line:

if (opts.random) {

to this one:

if (opts.random && els.length > 1) {

raulgc90 avatar Jan 02 '12 18:01 raulgc90

I just found the same bug after upgrading from a really old version. My workaround was to set startingSlide: 0.

SeanHayes avatar Jan 17 '12 20:01 SeanHayes