From 59e44ae7e91cee32827d4605cd2795a8c115948b Mon Sep 17 00:00:00 2001 From: Peter Benko Date: Mon, 27 Sep 2021 19:48:53 +0200 Subject: [PATCH] fix(angular): removed stray setIndex debug code (nolimits4web#5006) (#5007) --- src/angular/src/swiper.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/angular/src/swiper.component.ts b/src/angular/src/swiper.component.ts index 3a7ef4a06..0acc257b5 100644 --- a/src/angular/src/swiper.component.ts +++ b/src/angular/src/swiper.component.ts @@ -822,7 +822,6 @@ export class SwiperComponent implements OnInit { } else { this.swiperRef.params[_key] = value; } - this.setIndex(2); } /** * @deprecated will be removed in upcoming versions