summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-01 01:03:47 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-01 01:03:47 +0200
commitdd95ee4beebd769ec947cd128a4ddce884b190de (patch)
tree9bbe9b872261cb0dced1f7796461e7951ce6dac0 /StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
parent881ad16da91e0b999f0f354b10bc84b9fcfb5e42 (diff)
building all seems to work
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
index 6eea977f..55320e7c 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -97,6 +97,11 @@ var BlogView = View.extend({
app.store.FittingCodes.split("\n").forEach(function(code){
app.product.fitLargeCodes[code] = true
})
+ if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) {
+ var fit_lines = app.store.FitsLargeText.split('\n').replace(/</g, "&lt;").replace(/>/g, "&rt;").join("<br>")
+ $('.fit').html(fit_lines)
+ $('.fit').addClass('altText')
+ }
}
if (app.store.BackgroundIsGray === "true") {