mirror of
https://github.com/9001/copyparty.git
synced 2025-11-04 13:53:18 +00:00
ie11 can't sandbox; add minimal fallback
This commit is contained in:
@@ -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