summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-05 11:09:03 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commitef9b26ee6ac1fbd05c14611aa0ee7697de9f2b8c (patch)
treee25076cfd345ca9fe244bd18e6977d035e37da85
parent17c9a3356eca1b7131d6db66a48dee1146f93b17 (diff)
downloadjulius-caesar-ef9b26ee6ac1fbd05c14611aa0ee7697de9f2b8c.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 000eec8..0c83319 100644
--- a/play.js
+++ b/play.js
@@ -68,7 +68,7 @@ let ui = {
present: new Set(),
};
-create_log_entry = function (text) {
+function on_log(text) {
let p = document.createElement("div");
text = text.replace(/&/g, "&amp;");
text = text.replace(/</g, "&lt;");