Skip to content

Commit

Permalink
Fix dot label when not RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed Jan 20, 2024
1 parent 2766e52 commit deaa201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssr-carousel-dots.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default

# Make the label for the dot
makeLabel: (index) ->
pageNumber = if @rtl then @pages - index + 1 else @index
pageNumber = if @rtl then @pages - index + 1 else index
"Go to #{@pageLabel} #{pageNumber}"

# Check if dot index shuold be disabled
Expand Down

0 comments on commit deaa201

Please sign in to comment.