diff --git a/lib/client/listeners.js b/lib/client/listeners.js index 0bd1d603..a8c45246 100644 --- a/lib/client/listeners.js +++ b/lib/client/listeners.js @@ -93,8 +93,9 @@ var Util, DOM, CloudCmd; this.changeLinks = function(pPanelID) { /* назначаем кнопку очистить кэш и показываем её */ var lPanel = DOM.getById(pPanelID), - clearStorage = DOM.getByClass('clear-storage', lPanel)[0], - refresh = DOM.getByClass('refresh-icon', lPanel)[0], + pathElement = DOM.getByClass('path', lPanel)[0], + clearStorage = DOM.getByClass('clear-storage', pathElement)[0], + refresh = DOM.getByClass('refresh-icon', pathElement)[0], a = DOM.getByTag('a', lPanel), fileClick = function (event) {