added missing semicolon

This commit is contained in:
Mathijs Peerboom 2013-12-03 14:39:38 +01:00
parent efbe4cdf90
commit 1f821e15a0

View File

@ -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);
} }