summaryrefslogtreecommitdiffstats
path: root/assets/js/meals.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-08-30 20:14:01 +0200
committersijanec <sijanecantonluka@gmail.com>2020-08-30 20:14:01 +0200
commitd9969379798e23b2a62f8bf6eab3967d0497b1a8 (patch)
treea8132c6cf24ee3df1f3d8c768b60bf9378a4bbae /assets/js/meals.js
parentspremenil server message (diff)
downloadbeziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar.gz
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar.bz2
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar.lz
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar.xz
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.tar.zst
beziapp-d9969379798e23b2a62f8bf6eab3967d0497b1a8.zip
Diffstat (limited to 'assets/js/meals.js')
-rw-r--r--assets/js/meals.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/js/meals.js b/assets/js/meals.js
index 78de032..891feae 100644
--- a/assets/js/meals.js
+++ b/assets/js/meals.js
@@ -209,8 +209,9 @@ function displayMeals(meals) {
meal_node.appendChild(meal_node_div);
subject_body_root.appendChild(meal_node);
}
-
- subject_header.appendChild(subject_header_text);
+ var subject_header_text_span = document.createElement("span");
+ subject_header_text_span.innerText = subject_header_text;
+ subject_header.appendChild(subject_header_text_span);
subject_body.append(subject_body_root);
subject_entry.append(subject_header);
subject_entry.append(subject_body);