enso-carousel
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -106,2 +106,3 @@ export default { | ||
this.posInitial = this.containerEl.offsetLeft; | ||
this.containerEl.style.left = `${-(this.slides.length * this.slideWidth)}px`; | ||
}, | ||
@@ -122,2 +123,8 @@ | ||
// Ignore right clicks | ||
if (e.button === 2) { | ||
e.preventDefault(); | ||
return; | ||
} | ||
// This is to prevent multiple dragstart events being called before | ||
@@ -124,0 +131,0 @@ // a drag has completed. If that happens then the posInitial gets out of |
{ | ||
"name": "enso-carousel", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"description": "A renderless Vue component carousel.", | ||
@@ -5,0 +5,0 @@ "main": "js/EnsoCarousel.js", |
12061
6
226