summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-03 00:50:57 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-03 00:50:57 +0200
commit91565bdbf81bc4194a57bd1f587a3b04c4a7ebb9 (patch)
treefcc77634b402f04b0311b67822361a3aa4097107 /StoneIsland/www/js/lib/products/ProductView.js
parent44020d2947dc55f857ca97297e998eb04685a99e (diff)
lol
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
-rwxr-xr-xStoneIsland/www/js/lib/products/ProductView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index c22c7962..6a846994 100755
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -185,7 +185,7 @@ var ProductView = ScrollableView.extend({
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")) {
+ if (s.indexOf("LIMITED EDITION") !== -1) {
return "<span class='red'>" + s + "</span>"
}
return s