Showing
1 changed file
with
2 additions
and
1 deletions
@@ -11,7 +11,8 @@ | @@ -11,7 +11,8 @@ | ||
11 | </div> | 11 | </div> |
12 | <div class="pagination-wrapper"> | 12 | <div class="pagination-wrapper"> |
13 | <ul class="page-items"> | 13 | <ul class="page-items"> |
14 | - <li v-for="index in slideCount" :key="index" class="page-item" :class="{active: index == activeIndex}"></li> | 14 | + <li v-for="index in slideCount" :key="index" class="page-item" |
15 | + :class="{active: index - 1 == activeIndex}"></li> | ||
15 | </ul> | 16 | </ul> |
16 | </div> | 17 | </div> |
17 | </div> | 18 | </div> |
-
Please register or login to post a comment