summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-03 00:45:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-03 00:45:40 +0200
commit05abca52782442dacb06d98f8433c0a8666b4e55 (patch)
treecee13495c178a58461be808c7609574da7bddb0d /StoneIsland/www/js/lib/blogs/BlogView.js
parent351ba369d4d5939f207fd5e5151fe5a6ef4361fe (diff)
app
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/BlogView.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js
index 55320e7c..ed17e684 100755
--- a/StoneIsland/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/www/js/lib/blogs/BlogView.js
@@ -92,13 +92,15 @@ var BlogView = View.extend({
console.log(app.store.StoreStatus)
+ console.log(app.store.FitsLarge, app.store.fitsLargeText)
app.product.fitLargeCodes = {}
if (app.store.FittingCodes.length) {
app.store.FittingCodes.split("\n").forEach(function(code){
app.product.fitLargeCodes[code] = true
})
+ console.log(app.store.FitsLarge, app.store.fitsLargeText)
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>")
+ var fit_lines = app.store.FitsLargeText.replace(/</g, "&lt;").replace(/>/g, "&rt;").split('\n').join("<br>")
$('.fit').html(fit_lines)
$('.fit').addClass('altText')
}