Skip to content

Commit 22b7553

Browse files
author
Dmytro Vilchynskyi
committed
Merge remote-tracking branch 'origin/MAGETWO-62404' into PR_26042017
2 parents 3757550 + 98cdc5f commit 22b7553

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/web/mage/gallery/gallery.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,10 @@ define([
301301
mainImageIndex = getMainImageIndex(config.data);
302302

303303
if (mainImageIndex) {
304-
this.settings.fotoramaApi.show(mainImageIndex);
304+
this.settings.fotoramaApi.show({
305+
index: mainImageIndex,
306+
time: 0
307+
});
305308
}
306309
},
307310

0 commit comments

Comments
 (0)