mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-19 07:26:52 +01:00
Fixes wrong icon after rescanning closed folders
This commit is contained in:
@@ -285,6 +285,9 @@
|
||||
amplify.publish("filemanager.onIndex", {path: path, files: _this.indexFiles});
|
||||
var files = _this.indexFiles;
|
||||
if (files.length > 0) {
|
||||
if (node.parent().children('span').hasClass('plus')) {
|
||||
node.parent().children('span').removeClass('plus').addClass('minus');
|
||||
}
|
||||
var display = 'display:none;';
|
||||
if (rescan) {
|
||||
display = '';
|
||||
|
||||
Reference in New Issue
Block a user