diff options
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 6 |
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) |
