summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-05 11:09:03 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit3a626ab99fa169a76f5d69bf3edcc7920fdc1ea2 (patch)
treebc329548194e889ca61a733e0a9a3f5e7a91dee6
parentcb0ffc1a077715eac0f4df8f16c1b76ecdf2e977 (diff)
download300-earth-and-water-3a626ab99fa169a76f5d69bf3edcc7920fdc1ea2.tar.gz
Change create_log_entry to on_log.
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index f5f00a5..b5983c4 100644
--- a/play.js
+++ b/play.js
@@ -60,7 +60,7 @@ let ui = {
};
let was_blank = true;
-create_log_entry = function (text) {
+function on_log(text) {
let p = document.createElement("div");
text = text.replace(/&/g, "&amp;");
text = text.replace(/</g, "&lt;");