From e0ec54dc4748e393df7bf06effb9a88085311fbf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 3 May 2018 00:54:16 +0200 Subject: type --- StoneIsland/www/js/lib/products/ProductView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'StoneIsland/www/js') 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 += "
EXTREME COMPACTING ON NYLON BASE
LIMITED EDITION - NUMBERED 01 TO 100" if (title.indexOf('
') !== -1) { var title_lines = title.split('
').map(function(s){ if (s.indexOf("LIMITED EDITION") !== -1) { - this.$type.html("" + s + "") - return '' + return "" + s + "" + // return '' } return s }.bind(this)) title = title_lines.join('

') } this.$title.html(title) + this.$type.html(type) this.$price.html(price) this.$body.html(body) -- cgit v1.2.3-70-g09d2