From 726bed15220c3ddca4326fdf3385fa7436faaffb Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 24 Aug 2012 06:12:20 -0400 Subject: [PATCH] minor changes --- client.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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){