updateConfig and speedUp/speedDown don't work
Closed this issue · 0 comments
ekatherina commented
I tried to fire $('#' + sliderUniqId).trigger('speedDown', [10]); but parameter is not set. I found out that you need change method speedDown to add parameter "event" as the first param.
Like that
container.bind('speedDown', function (event, speed) {
if (speed === 'undefined') {
speed = config.speed * 2;
}
config.speed = speed;
});
The same changes need to be applied for updateConfig and speedUp methods