summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
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