silly little bug now resolved
parent
18b96b33c6
commit
569fb8d3c8
|
@ -361,7 +361,11 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
||||||
$(self).css('left', newloc);
|
$(self).css('left', newloc);
|
||||||
// if(getSliderPosition() != Math.floor(newloc * sliderLength / ($("#ui-slider-bar").width()-2)))
|
// if(getSliderPosition() != Math.floor(newloc * sliderLength / ($("#ui-slider-bar").width()-2)))
|
||||||
setSliderPosition(Math.floor(newloc * sliderLength / ($("#ui-slider-bar").width() - 2)))
|
setSliderPosition(Math.floor(newloc * sliderLength / ($("#ui-slider-bar").width() - 2)))
|
||||||
|
if(parseInt($(self).css('left')) < 2){
|
||||||
|
$(self).css('left', '2px');
|
||||||
|
}else{
|
||||||
self.currentLoc = parseInt($(self).css('left'));
|
self.currentLoc = parseInt($(self).css('left'));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue