mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
removed old getPanel garbage
This commit is contained in:
parent
8e8eef798c
commit
6385ee5cf3
1 changed files with 1 additions and 9 deletions
10
client.js
10
client.js
|
|
@ -319,15 +319,7 @@ CloudClient.Util = (function(){
|
|||
this.getByClass = function(pClass){
|
||||
return document.getElementsByClassName(pClass);
|
||||
};
|
||||
|
||||
this.getPanel = function(){
|
||||
var lCurrent = document.getElementsByClassName('current-file');
|
||||
lCurrent.length &&
|
||||
(lCurrent = lCurrent[0].parentElement);
|
||||
|
||||
return lCurrent && lCurrent.id;
|
||||
};
|
||||
|
||||
|
||||
/* private members */
|
||||
var lLoadingImage;
|
||||
var lErrorImage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue