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:12:55 +0100
commit198a0be104cfbcbd625bed36b57f65a970d991a9 (patch)
tree2a00683e9d853fd783581ff3bb0448126b35be6f
parentc02f66b7e79e054114aaf9f2806c8d105b130270 (diff)
downloadrichard-iii-198a0be104cfbcbd625bed36b57f65a970d991a9.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 6dd085e..c6cffa9 100644
--- a/play.js
+++ b/play.js
@@ -59,7 +59,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;");