diff --git a/lib/reporters/html.js b/lib/reporters/html.js index c32a8f300c..357970a77e 100644 --- a/lib/reporters/html.js +++ b/lib/reporters/html.js @@ -88,7 +88,7 @@ function HTML(runner, options) { } else { // On some broswers, canvas might be unavailable for whatever reason. // As such, we need a text version as a fallback - var progressTextFallback = fragment('
  • progress: 0%
  • '); + var progressTextFallback = fragment('
  • progress: 0%
  • '); progressText = progressTextFallback.getElementsByTagName('em')[0]; items[0].replaceWith(progressTextFallback); }