summaryrefslogtreecommitdiff
path: root/examples/console/web/static/command.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/console/web/static/command.js')
-rw-r--r--examples/console/web/static/command.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/console/web/static/command.js b/examples/console/web/static/command.js
index 50146e2..ad7b87e 100644
--- a/examples/console/web/static/command.js
+++ b/examples/console/web/static/command.js
@@ -49,8 +49,7 @@ function html_quote(s) {
return s.replace('&', '&amp;').replace('<', '&lt;');
}
-function clear() {
- alert(output_html);
+function clear_output() {
output_html = '';
refresh_display();
return false;