From 0bdbfaf3fd811f6af2feb61378dfd8507847bc3d Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 25 Jul 2012 13:10:11 -0400 Subject: [PATCH] innerText -> innerHTML to make auto_tests/misc/local.html work in Firefox --- auto_tests/misc/local.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index 961a9d5..5afde2d 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -127,7 +127,7 @@ var summary = { failed: 0, passed: 0 }; postResults(results, summary); resultsDiv.appendChild(document.createElement("hr")); - document.getElementById('summary').innerText = "(" + summary.failed + " failed, " + summary.passed + " passed)"; + document.getElementById('summary').innerHTML = "(" + summary.failed + " failed, " + summary.passed + " passed)"; } function createResultsDiv() { @@ -236,7 +236,7 @@ if (selector != null) { // running a test var createLink = function(parent, text, url) { var li = createAttached("li", parent); var a = createAttached("a", li); - a.innerText = text; + a.innerHTML = text; a.href = url; } if (tc == null) { -- 2.7.4