From 426b1771d3973c95efd9746366a0392841d88413 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 25 Dec 2013 11:29:54 +0000 Subject: [PATCH] refactor(html) path: rm id=clear-storage --- html/path.html | 2 +- lib/client/listeners.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/path.html b/html/path.html index e876eea1..7447ddb6 100644 --- a/html/path.html +++ b/html/path.html @@ -1 +1 @@ -
{{ path }}
\ No newline at end of file +
{{ path }}
\ No newline at end of file diff --git a/lib/client/listeners.js b/lib/client/listeners.js index 13fcfdb3..6be5e89e 100644 --- a/lib/client/listeners.js +++ b/lib/client/listeners.js @@ -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-запросы */