diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-01 01:03:47 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-01 01:03:47 +0200 |
| commit | dd95ee4beebd769ec947cd128a4ddce884b190de (patch) | |
| tree | 9bbe9b872261cb0dced1f7796461e7951ce6dac0 /StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js | |
| parent | 881ad16da91e0b999f0f354b10bc84b9fcfb5e42 (diff) | |
building all seems to work
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js | 5 |
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, "<").replace(/>/g, "&rt;").join("<br>") + $('.fit').html(fit_lines) + $('.fit').addClass('altText') + } } if (app.store.BackgroundIsGray === "true") { |
