Skip to content

Commit

Permalink
Merge pull request #35 from konami12/develop
Browse files Browse the repository at this point in the history
FIX
  • Loading branch information
konami12 committed May 19, 2018
2 parents 13fa4c7 + 1a7678a commit 42381f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![GitHub version](https://badge.fury.io/gh/konami12%2Forcaslide.svg)](https://badge.fury.io/gh/konami12%2Forcaslide)

*OrcaSlide* Un Slider básico creado con **JS** nativo. El propósito de este desarrollo es evitar el uso de
*OrcaSlide* Un Slider básico creado con **JS** **nativo**. El propósito de este desarrollo es evitar el uso de
librerías qua a futuro causan problemas de compatibilidad al tener que convivir con otros paquetes o funcionalidades y evitar la imposición de una estrucura HTML que difiera de tu proyecto.

## 💾 Instalación
Expand Down
2 changes: 1 addition & 1 deletion dist/source/OrcaSlide.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions source/OrcaSlide.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ class OrcaSlide {
}
}, false);

contentItem.addEventListener("touchend", (action) => {
action.preventDefault();
contentItem.addEventListener("touchend", () => {
if (SWIPE.direction === "left" && this.configSlide.position < items) {
this.autoPlay(false);
this.animateSlide(true);
Expand Down

0 comments on commit 42381f8

Please sign in to comment.