diff --git a/client.js b/client.js index 78441a3d..ebfafaf6 100644 --- a/client.js +++ b/client.js @@ -582,7 +582,11 @@ CloudClient.Utils = (function(){ 'could not be none' }); - return pCurrentFile.className = ''; + if(this.isCurrentFile(pCurrentFile)) + pCurrentFile.className = ''; + + else return false; + }; this.isCurrentFile = function(pCurrentFile){