mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 11:58:28 +00:00
ie11 can't sandbox; add minimal fallback
This commit is contained in:
1 parent
3090c74832
commit
95157d02c9
1 file changed
+5
@@ -9637,6 +9637,11 @@ function sandbox(tgt, rules, allow, cls, html) {
|
||||
clmod(tgt, 'sb');
|
||||
return false;
|
||||
}
|
||||
if (!CLOSEST) {
|
||||
tgt.textContent = html;
|
||||
clmod(tgt, 'sb');
|
||||
return false;
|
||||
}
|
||||
clmod(tgt, 'sb', 1);
|
||||
|
||||
var tid = tgt.getAttribute('id'),
|
||||
|
||||
Reference in new issue
Block a user