From b3eae6c7a8018c46769ef9dd897952629757bb50 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 14 Jul 2019 00:13:39 +0200 Subject: error --- StoneIsland/www/js/lib/products/GalleryView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib') diff --git a/StoneIsland/www/js/lib/products/GalleryView.js b/StoneIsland/www/js/lib/products/GalleryView.js index 9c012598..d6f5723c 100755 --- a/StoneIsland/www/js/lib/products/GalleryView.js +++ b/StoneIsland/www/js/lib/products/GalleryView.js @@ -41,7 +41,7 @@ var GalleryView = View.extend({ var id = valid_styles[style] + "_" + style var t = this.template .replace(/{{image}}/, sdk.image(code, id)) - .replace(/{{alt}}/, YOOX_IMAGE_STYLE_LABELS[style]) + .replace(/{{alt}}/, YOOX_IMAGE_STYLE_LABELS[style] || "Alternate view") this.$el.append(t) }.bind(this)) -- cgit v1.2.3-70-g09d2