mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 22:45:14 -04:00
Refactors.
This commit is contained in:
parent
7b3daeb17b
commit
4d4e41a637
5 changed files with 11 additions and 17 deletions
|
@ -34,7 +34,6 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/e
|
|||
.data('status', item.status);
|
||||
|
||||
location.setLink($a, item);
|
||||
// $img.attr('src', resource.icon(item.type));
|
||||
$img.attr('src', resource.image('folder'));
|
||||
$label.text(item.label);
|
||||
|
||||
|
@ -95,7 +94,6 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/e
|
|||
// reflect folder status
|
||||
if (_.isNumber(item.status)) {
|
||||
if (item.status === 200) {
|
||||
// $img.attr('src', resource.icon('folder-page'));
|
||||
$img.attr('src', resource.image('folder-page'));
|
||||
} else {
|
||||
$html.addClass('error');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue