mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(html) path: rm id=clear-storage
This commit is contained in:
parent
b0f6807ba7
commit
426b1771d3
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
<div class=path><span class="path-icon clear-storage" id=clear-storage title="clear storage (Ctrl+D)"></span><span class="path-icon refresh-icon" title="refresh (Ctrl+R)"><a href="{{ link }}"></a></span><span>{{ path }}</span></div>
|
||||
<div class=path><span class="path-icon clear-storage" title="clear storage (Ctrl+D)"></span><span class="path-icon refresh-icon" title="refresh (Ctrl+R)"><a href="{{ link }}"></a></span><span>{{ path }}</span></div>
|
||||
|
|
@ -89,7 +89,7 @@ var Util, DOM, CloudCmd;
|
|||
*/
|
||||
this.changeLinks = function(pPanelID) {
|
||||
/* назначаем кнопку очистить кэш и показываем её */
|
||||
var lClearStorage = DOM.getById('clear-storage');
|
||||
var lClearStorage = DOM.getByClass('clear-storage')[0];
|
||||
Events.addClick(Storage.clear, lClearStorage);
|
||||
|
||||
/* меняем ссылки на ajax-запросы */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue