summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js')
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 502347af..f948cb91 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -181,20 +181,20 @@ var ProductView = ScrollableView.extend({
this.details = details['Item']
this.code = data['DefaultCode10']
- this.$type.html(type)
console.log( data['DefaultCode10'] )
title += "<br>EXTREME COMPACTING ON NYLON BASE<br>LIMITED EDITION - NUMBERED 01 TO 100"
if (title.indexOf('<br>') !== -1) {
var title_lines = title.split('<br>').map(function(s){
if (s.indexOf("LIMITED EDITION") !== -1) {
- this.$type.html("<span class='red'>" + s + "</span>")
- return ''
+ return "<span class='red'>" + s + "</span>"
+ // return ''
}
return s
}.bind(this))
title = title_lines.join('<br><br>')
}
this.$title.html(title)
+ this.$type.html(type)
this.$price.html(price)
this.$body.html(body)