mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
e486ccd91d
commit
d2ad0a8584
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue