diff --git a/client.js b/client.js index 6976ac46..997b2761 100644 --- a/client.js +++ b/client.js @@ -762,9 +762,8 @@ CloudClient._ajaxLoad=function(path, pNeedRefresh) ErrorImage.className='icon error'; ErrorImage.title = jqXHR.responseText; + var lLoading = getById('loading-image'); lLoading.parentElement.appendChild(ErrorImage); - - var lLoading = getById('loading-image'); lLoading.className ='hidden'; console.log(jqXHR.responseText);