mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
969ba551a3
commit
3f44aa4866
1 changed files with 3 additions and 2 deletions
|
|
@ -67,11 +67,12 @@ CloudCommander.Editor.CodeMirror = {
|
|||
|
||||
var lLeft = this.getById('left');
|
||||
var lCloudEditor = this.getById('CloudEditor');
|
||||
var lCURRENTFILE = CloudCommander.CURRENCURRENT_FILE;
|
||||
|
||||
var lCurrent = this.getById(CloudCommander.CURRENCURRENT_FILE);
|
||||
var lCurrent = this.getByClassName(lCURRENTFILE);
|
||||
var lA;
|
||||
if(lCurrent.length)
|
||||
lA = lCurrent.getElementsByTagName('a');
|
||||
lA = lCurrent[0].getElementsByTagName('a');
|
||||
|
||||
if(lA.length)
|
||||
lA = lA[0].href;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue