diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-04-02 18:58:31 +0200 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-04-02 18:58:31 +0200 |
| commit | ea8f146f08408a62f9171214510ceaa71229d141 (patch) | |
| tree | 140d2cd4f49af6630827cf30caa5bcb49721f8e6 | |
| parent | 4e0a5729f0437902f83ada7033625c359bf88ab6 (diff) | |
no longer displaying number as its own thing
| -rwxr-xr-x | StoneIsland/www/index.html | 1 | ||||
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 59c328fd..c9e6e575 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -262,7 +262,6 @@ <div class="gallery-right"></div> <div class="content"> <div class="product-header"> - <span class="num"></span> <span class="title"></span> </div> <div class="type-price"> diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index a261218d..802ee6b6 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -17,7 +17,6 @@ var ProductView = ScrollableView.extend({ this.scroller = new IScroll('#product', app.iscroll_options) this.$productHeader = this.$(".product-header") - this.$num = this.$(".num") this.$title = this.$(".title") this.$type = this.$(".type") this.$price = this.$(".price") @@ -114,9 +113,7 @@ var ProductView = ScrollableView.extend({ var descriptions = this.get_descriptions(details) - var name_partz = data['ModelNames'].split(' ') - var num = name_partz.shift() - var title = name_partz.join(' ') + var title = data['ModelNames'] var type = title_case( data['MicroCategory'] ) var price = "$" + data['DiscountedPrice'] + ".00" var details_description = descriptions['Details'] || "" @@ -165,7 +162,6 @@ var ProductView = ScrollableView.extend({ console.log( data['DefaultCode10'] ) - this.$num.html(num) this.$title.html(title) this.$type.html(type) this.$price.html(price) |
