fix(path) #js-path -> .js-path: 2 pathes on a page

This commit is contained in:
coderaiser 2014-02-14 03:48:36 -05:00
parent bb0adba20f
commit 5baa32871a
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
<div id="js-path" class="reduce-text" title="{{ fullPath }}"><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 class=links>{{ path }}</span></div>
<div class="js-path reduce-text" title="{{ fullPath }}"><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 class=links>{{ path }}</span></div>

View file

@ -841,7 +841,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
*/
this.getCurrentDirPath = function(pPanel) {
var lPanel = pPanel || this.getPanel(),
lPath = this.getById('js-path', lPanel),
lPath = this.getByClass('js-path', lPanel),
lRet;
if (lPath)