mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-07 10:04:39 -04:00
Adds core/mode. Lots of changes to make installation more flexible.
This commit is contained in:
parent
fd89ea1d90
commit
f1a2a44079
14 changed files with 116 additions and 82 deletions
|
@ -61,6 +61,12 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/e
|
|||
$img.attr('src', resource.icon('folder-home'));
|
||||
}
|
||||
|
||||
// is it the root?
|
||||
if (entry.isRoot()) {
|
||||
$html.addClass('root');
|
||||
$img.attr('src', resource.icon('folder-home'));
|
||||
}
|
||||
|
||||
// is it the current folder?
|
||||
if (entry.isCurrentFolder()) {
|
||||
$html.addClass('current');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue