From 0d3c9560762a65d80b884520b3186021093cda3c Mon Sep 17 00:00:00 2001 From: Julian Knowles Date: Mon, 20 Jan 2014 18:28:09 +0800 Subject: [PATCH] Roo/bootstrap/Img.js --- Roo/bootstrap/Img.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index 96d7432707..5b030eca51 100644 --- a/Roo/bootstrap/Img.js +++ b/Roo/bootstrap/Img.js @@ -43,7 +43,7 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, { cfg.src = this.src || cfg.src; - if (['rounded','circle','thumbnail'].indexOf(this.border)) { + if (['rounded','circle','thumbnail'].indexOf(this.border)>-1) { cfg.cls += ' img-' + this.border; } -- 2.39.2