Unite Gallery - Responsive jQuery Image and Video Gallery Plugin. Aim to be the best gallery on the web on it's kind. See demo here:
531
stars
157
forks
source link
forceCarousel is not defined when gallery_carousel is false #113
Open
zberno opened 8 years ago
when the gallery is initialized with the parameter:
gallery_carousel:false
the carousel generate the error:
forceCarousel is not defined
and you can't scroll the first slide on touch devicesbecause of this bug: file: source/unitegallery/js/ug-gallery.js line: 1511
this.getPrevItem = function(index){
lacks the forceCarousel parameter.
with the function modified as this:
this.getPrevItem = function(index, forceCarousel){
everything works as expected