Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Feb 4, 2020
1 parent e0620f0 commit c4c5af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/gamesMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function renderCarouselIndicators() {
Math.ceil(scroller.innerElements.length / 2) :
scroller.innerElements.length
return h('div.carouselIndicators',
Array.from(Array(elsNb).keys()).map(i =>
Array(elsNb).fill(1).map((_, i) =>
h('i.indicator', {
className: i === scroller.currentSlide ? 'current' : ''
})
Expand Down

0 comments on commit c4c5af1

Please sign in to comment.