summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-07-14 00:13:39 +0200
committerJules Laplace <julescarbon@gmail.com>2019-07-14 00:13:39 +0200
commitb3eae6c7a8018c46769ef9dd897952629757bb50 (patch)
treeecbde8077d6e49173de338be5652354fa8191b7c
parentb6f8b03d48be23d3776404082206d403ecd37cd4 (diff)
error
-rwxr-xr-xStoneIsland/www/js/lib/products/GalleryView.js2
1 files changed, 1 insertions, 1 deletions
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))