mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(swiper): change var to let to avoid variable shadowing
This commit is contained in:
@@ -462,7 +462,7 @@ export function resetZoomEvents(s: Slides, plt: Platform) {
|
||||
|
||||
// Scale image
|
||||
if (s._supportGestures) {
|
||||
for (var i = 0; i < slides.length; i++) {
|
||||
for (let i = 0; i < slides.length; i++) {
|
||||
slide = slides[i];
|
||||
// gesturestart
|
||||
plt.registerListener(slide, 'gesturestart', (ev: TouchEvent) => {
|
||||
|
||||
Reference in New Issue
Block a user