backed to previous state

This commit is contained in:
coderaiser 2012-07-17 11:08:31 +03:00
parent 48b6729011
commit 1eb09fbbe3

View file

@ -592,7 +592,7 @@ CloudClient._anyload = function(pName,pSrc,pFunc,pStyle,pId,pElement)
/* if passed arguments function
* then it's onload by default
*/
if(pFunc && typeof pFunc === 'function'){
if(typeof pFunc === 'function'){
element.onload=pFunc;
/* if object - then onload or onerror */
}else if (typeof pFunc === 'object'){