mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fixed bug: Maximum call stack size exceeded
This commit is contained in:
parent
fbffbdae54
commit
b419f1d61e
1 changed files with 5 additions and 2 deletions
|
|
@ -363,8 +363,11 @@ CloudClient.init=(function()
|
|||
LoadingImage=CloudClient._images.loading();
|
||||
/* загружаем иконку загрузки возле кнопки обновления дерева каталогов*/
|
||||
try{
|
||||
getByClass('path')[0].getElementsByTagName('a')[0].appendChild(LoadingImage);
|
||||
LoadingImage.className+=' hidden'; /* прячем её */
|
||||
var lPath = getByClass('path')[0]
|
||||
lPath.getElementsByTagName('a')[0]
|
||||
.appendChild(LoadingImage);
|
||||
|
||||
LoadingImage.className += ' hidden'; /* прячем её */
|
||||
}catch(error){console.log(error);}
|
||||
ErrorImage=CloudClient._images.error();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue