diff --git a/client.js b/client.js index 2d3b987a..cb2bf16f 100644 --- a/client.js +++ b/client.js @@ -1024,7 +1024,7 @@ CloudClient._currentToParent = (function(pDirName){ */ if(lRootDir){ Util.setCurrentFile(lRootDir); - lRootDir.scrollIntoViewIfNeeded(); + Util.scrollIntoViewIfNeeded(lRootDir); } });