Browse Source

Fix insertAdjacentHTML for pre FF8

notmasteryet 14 years ago
parent
commit
238ac7c812
  1. 3
      test/driver.js

3
test/driver.js

@ -221,7 +221,10 @@ function checkScrolling() {
} }
function log(str) { function log(str) {
if (stdout.insertAdjacentHTML)
stdout.insertAdjacentHTML('BeforeEnd', str); stdout.insertAdjacentHTML('BeforeEnd', str);
else
stdout.innerHTML += str;
if (str.lastIndexOf('\n') >= 0) if (str.lastIndexOf('\n') >= 0)
checkScrolling(); checkScrolling();

Loading…
Cancel
Save