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:19:39 +0100
commit24058bfbe40bf02385460cf899b7564d47d9eec0 (patch)
tree37558d1f17333dfed889ef1d7fb444ed6bce1d68
parenta88466a2fb6b73571240c79fb3a26d8310b9593c (diff)
downloadcrusader-rex-24058bfbe40bf02385460cf899b7564d47d9eec0.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 35b015a..586feea 100644
--- a/play.js
+++ b/play.js
@@ -51,7 +51,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;");