summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2013-11-19 19:29:10 +0000
committerEndi S. Dewata <edewata@redhat.com>2013-11-19 19:29:10 +0000
commitdc462298527fd0fca2bb7cc3f62bbaf4e0956b67 (patch)
treef5c7727e642bcafbd4b35ab566cb42907ef78e22
parentffa774d23658a68f8b613cce9baf4108c548f128 (diff)
downloadcli-demo-dc462298527fd0fca2bb7cc3f62bbaf4e0956b67.tar.gz
cli-demo-dc462298527fd0fca2bb7cc3f62bbaf4e0956b67.tar.xz
cli-demo-dc462298527fd0fca2bb7cc3f62bbaf4e0956b67.zip
Show content by default.
-rw-r--r--js/terminal-animation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/terminal-animation.js b/js/terminal-animation.js
index 1648b3e..f43fce1 100644
--- a/js/terminal-animation.js
+++ b/js/terminal-animation.js
@@ -64,9 +64,9 @@
}).appendTo($this.control);
if ($this.is('pre')) {
- $this.elements.html(text);
+ $this.content.html(text);
} else {
- $this.elements.append(list);
+ $this.content.append(list);
}
$this.flush();