diff --git a/build/js/timeline.js b/build/js/timeline.js index 7a81874..9dc87cc 100644 --- a/build/js/timeline.js +++ b/build/js/timeline.js @@ -5265,6 +5265,10 @@ if(typeof VMM != 'undefined' && typeof VMM.Slider == 'undefined') { VMM.Lib.width($slides_items, (slides.length * config.slider.content.width)); + if(typeof current_slide == "undefined"){ + current_slide = 0; + } + if (_from_start) { VMM.Lib.css($slider_container, "left", slides[current_slide].leftpos()); }