added missing semicolon
This commit is contained in:
parent
efbe4cdf90
commit
1f821e15a0
@ -273,7 +273,7 @@ h1{
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
slide: function(event){
|
slide: function(event){
|
||||||
event.preventDefault()
|
event.preventDefault();
|
||||||
slider.slidingDistance = slider.startingPostition - event.clientX;
|
slider.slidingDistance = slider.startingPostition - event.clientX;
|
||||||
window.scrollTo(slider.pagePosition + slider.slidingDistance, 0);
|
window.scrollTo(slider.pagePosition + slider.slidingDistance, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user