diff options
Diffstat (limited to 'StoneIsland/www/js/lib/blogs')
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/BlogView.js | 4 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/blogs/HubView.js | 2 |
2 files changed, 4 insertions, 2 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, "<").replace(/>/g, "&rt;").join("<br>") + var fit_lines = app.store.FitsLargeText.replace(/</g, "<").replace(/>/g, "&rt;").split('\n').join("<br>") $('.fit').html(fit_lines) $('.fit').addClass('altText') } diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js index c09dd3b3..5e2ff67e 100755 --- a/StoneIsland/www/js/lib/blogs/HubView.js +++ b/StoneIsland/www/js/lib/blogs/HubView.js @@ -183,7 +183,7 @@ var HubLoader = (function(){ HubLoader.build = function(){ view.append(item) view.scroller.refresh() - if (count < 20 && ! needed) return + if (count < 2 && ! needed) return // if (count === 10) return setTimeout(HubLoader.load, count < 10 ? 1000 : 5000) } |
