diff --git a/client.js b/client.js index eaf08acb..49058835 100644 --- a/client.js +++ b/client.js @@ -655,7 +655,7 @@ CloudClient.Util = (function(){ if (pCurrentFile.className === 'path') pCurrentFile = pCurrentFile.nextSibling; - if (pCurrentFile.className == 'fm_header') + if (pCurrentFile.className === 'fm_header') pCurrentFile = pCurrentFile.nextSibling; if(lCurrentFileWas) diff --git a/cloudcmd.js b/cloudcmd.js index 525bdaf9..313af155 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -1,3 +1,4 @@ +"use strict"; var Server = cloudRequire('./server'), path = cloudRequire('path'), fs = cloudRequire('fs');