diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-03 00:53:20 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-03 00:53:20 +0200 |
| commit | 0bcdc4a3b962a3a9df624ceb41ffc096d913b01e (patch) | |
| tree | d4de6cfc8b05456b96a22628e7a4e545e1a1c3bb | |
| parent | cc99b8ef177c8665f92b2cd2f44d9a4b2ff54b3f (diff) | |
type
| -rwxr-xr-x | StoneIsland/www/js/lib/products/ProductView.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 427f5f0a..502347af 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -188,9 +188,10 @@ var ProductView = ScrollableView.extend({ 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 s - }) + }.bind(this)) title = title_lines.join('<br><br>') } this.$title.html(title) |
