From 1eb09fbbe3636b2377a8a7827beb5a302b720904 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 17 Jul 2012 11:08:31 +0300 Subject: [PATCH] backed to previous state --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index e8ddb8f7..cadd6682 100644 --- a/client.js +++ b/client.js @@ -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'){