mirror of
https://github.com/unraid/webgui.git
synced 2026-02-25 11:49:12 -06:00
File Manager: fix missing icon when minimized
This commit is contained in:
@@ -47,19 +47,16 @@ var dfm_read = {};
|
||||
function dfm_footer(action, text) {
|
||||
switch (action) {
|
||||
case 'show':
|
||||
$('#countdown').show();
|
||||
$('#user-notice').show();
|
||||
break;
|
||||
case 'hide':
|
||||
$('#countdown').hide();
|
||||
$('#user-notice').hide();
|
||||
break;
|
||||
case 'write':
|
||||
if ($('#countdown').html() == '') $('#countdown').html('<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>');
|
||||
$('#user-notice').html(text);
|
||||
let icon = '<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>';
|
||||
$('#user-notice').html(icon + text);
|
||||
break;
|
||||
case 'clear':
|
||||
$('#countdown').html('');
|
||||
$('#user-notice').html('');
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user