From: Dan Vanderkam Date: Wed, 25 Jul 2012 17:10:11 +0000 (-0400) Subject: innerText -> innerHTML to make auto_tests/misc/local.html work in Firefox X-Git-Tag: v1.0.0~213^2~2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=0bdbfaf3fd811f6af2feb61378dfd8507847bc3d;p=dygraphs.git innerText -> innerHTML to make auto_tests/misc/local.html work in Firefox --- 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) {