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 New Issue
Block a user