mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix insertAdjacentHTML for pre FF8
This commit is contained in:
parent
6c771962b6
commit
238ac7c812
1 changed files with 4 additions and 1 deletions
|
@ -221,7 +221,10 @@ function checkScrolling() {
|
|||
}
|
||||
|
||||
function log(str) {
|
||||
stdout.insertAdjacentHTML('BeforeEnd', str);
|
||||
if (stdout.insertAdjacentHTML)
|
||||
stdout.insertAdjacentHTML('BeforeEnd', str);
|
||||
else
|
||||
stdout.innerHTML += str;
|
||||
|
||||
if (str.lastIndexOf('\n') >= 0)
|
||||
checkScrolling();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue