diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 00:13:39 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-07-14 00:13:39 +0200 |
| commit | b3eae6c7a8018c46769ef9dd897952629757bb50 (patch) | |
| tree | ecbde8077d6e49173de338be5652354fa8191b7c /StoneIsland/www/js/lib/products/GalleryView.js | |
| parent | b6f8b03d48be23d3776404082206d403ecd37cd4 (diff) | |
error
Diffstat (limited to 'StoneIsland/www/js/lib/products/GalleryView.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/products/GalleryView.js | 2 |
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)) |
