Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
VinhVictor committed Nov 7, 2020
1 parent 1f9248c commit e5de362
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demos/000-solid.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head>
<meta charset="utf-8">
<title>Swiper demo</title>
<link rel="stylesheet" href="../package/css/swiper.min.css">
<script src="../package/js/swiper.min.js"></script>
<link rel="stylesheet" href="../package/swiper-bundle.min.css">
<script src="../package/swiper-bundle.min.js"></script>
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/css/swiper.min.css">-->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/js/swiper.min.js"></script>-->

Expand Down
4 changes: 2 additions & 2 deletions playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>Swiper Playground</title>
<link rel="stylesheet" href="../build/swiper-bundle.css">
<link rel="stylesheet" href="../package/swiper-bundle.css">
<meta name="viewport" content="width=device-width">
</head>

Expand Down Expand Up @@ -49,7 +49,7 @@
line-height: 300px;
}
</style>
<script src="../build/swiper-bundle.js"></script>
<script src="../package/swiper-bundle.js"></script>
<script>
var swiper = new Swiper({
el: '.swiper-container',
Expand Down
1 change: 1 addition & 0 deletions src/components/pagination/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ const Pagination = {
let index = $(this).index() * swiper.params.slidesPerGroup;
if (swiper.params.loop) index += swiper.loopedSlides;
swiper.slideTo(index);
swiper.allowTouchMove = true;
});
}

Expand Down

0 comments on commit e5de362

Please sign in to comment.