summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-03 00:52:28 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-03 00:52:28 +0200
commitcc99b8ef177c8665f92b2cd2f44d9a4b2ff54b3f (patch)
tree505e62195f2bae82ebf90fb94e3f5fd43c2dfee1
parent91565bdbf81bc4194a57bd1f587a3b04c4a7ebb9 (diff)
type
-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 6a846994..427f5f0a 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -181,19 +181,19 @@ 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"
+ 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) {
- return "<span class='red'>" + s + "</span>"
+ this.$type.html("<span class='red'>" + s + "</span>")
}
return s
})
title = title_lines.join('<br><br>')
}
this.$title.html(title)
- this.$type.html(type)
this.$price.html(price)
this.$body.html(body)