minor changes

This commit is contained in:
coderaiser 2012-10-24 07:11:42 -04:00
parent e486ccd91d
commit d2ad0a8584

View file

@ -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;
}
/**