mirror of
https://github.com/9001/copyparty.git
synced 2026-11-10 12:28:23 +00:00
fix dupe logue on !js hydrate
This commit is contained in:
1 parent
dcc0abd696
commit
eeb399e3c9
1 file changed
+1
@@ -9337,6 +9337,7 @@ function sandbox(tgt, rules, allow, cls, html) {
|
||||
fr.setAttribute('sandbox', rules ? 'allow-' + rules.replace(/ /g, ' allow-') : '');
|
||||
fr.setAttribute('allow', allow);
|
||||
fr.setAttribute('srcdoc', html);
|
||||
tgt.innerHTML = '';
|
||||
tgt.appendChild(fr);
|
||||
treectl.sb_msg = true;
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user