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-17 12:53:18 +0100
commit9cbb9e66b442fd5cee45627de351c8c8bd43da75 (patch)
tree79cfe81f4620c6803f53d1df00c0a3133e1a2903
parent1a596feabe418f897dea45974a8ab6feee6de34a (diff)
downloadhammer-of-the-scots-9cbb9e66b442fd5cee45627de351c8c8bd43da75.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 0477792..241ce49 100644
--- a/play.js
+++ b/play.js
@@ -48,7 +48,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;");