Skip to content

Commit

Permalink
css-fix for firefox52 (centos6)
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Jul 22, 2024
1 parent 987bce2 commit eeef809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion copyparty/web/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7999,7 +7999,8 @@ function sandbox(tgt, rules, cls, html) {
env = js.split(/\blogues *=/)[0] + 'a;';
}

html = '<html class="iframe ' + document.documentElement.className + '"><head><style>' + globalcss() +
html = '<html class="iframe ' + document.documentElement.className +
'"><head><style>html{background:#eee;color:#000}\n' + globalcss() +
'</style><base target="_parent"></head><body id="b" class="logue ' + cls + '">' + html +
'<script>' + env + '</script>' + sandboxjs() +
'<script>var d=document.documentElement,TS="' + TS + '",' +
Expand Down

0 comments on commit eeef809

Please sign in to comment.