From d2ad0a8584bd8b542c5deb58354101c53b0a8c07 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 24 Oct 2012 07:11:42 -0400 Subject: [PATCH] minor changes --- client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.js b/client.js index 205830a2..89779387 100644 --- a/client.js +++ b/client.js @@ -560,9 +560,9 @@ CloudClient.Util = (function(){ * @param pStr2 */ function isContainStr(pStr1, pStr2){ - return str1 && - str2 && - str1.indexOf(str2) === 0; + return pStr1 && + pStr2 && + pStr1.indexOf(pStr2) > 0; } /**