mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
indicate when a readme/logue was hidden
This commit is contained in:
parent
d8dfc4ccb2
commit
712a578e6c
|
@ -6743,6 +6743,10 @@ if (readme)
|
|||
|
||||
|
||||
function sandbox(tgt, rules, cls, html) {
|
||||
if (!treectl.ireadme) {
|
||||
tgt.innerHTML = html ? '[📜<em>readme</em>] disabled in [⚙️] -- document hidden' : '';
|
||||
return;
|
||||
}
|
||||
if (!rules || (html || '').indexOf('<') == -1) {
|
||||
tgt.innerHTML = html;
|
||||
clmod(tgt, 'sb');
|
||||
|
|
Loading…
Reference in a new issue