From deaa20135a3c995cb98d4c075e66b5c9801d66b5 Mon Sep 17 00:00:00 2001 From: Robert Reinhard Date: Fri, 19 Jan 2024 17:40:53 -0800 Subject: [PATCH] Fix dot label when not RTL --- src/ssr-carousel-dots.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssr-carousel-dots.vue b/src/ssr-carousel-dots.vue index bc6afc6..550471d 100644 --- a/src/ssr-carousel-dots.vue +++ b/src/ssr-carousel-dots.vue @@ -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