diff options
author | rstular <rok@stular.eu> | 2020-08-30 21:02:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 21:02:29 +0200 |
commit | d0cac8d886053feb2b688c0f7eff90dc378cebb3 (patch) | |
tree | 3a91690925513cdd8c54e6778a88e0afa6b9e813 /assets/js/meals.js | |
parent | Merge pull request #24 from beziapp/dev (diff) | |
parent | koslila => kosila @ bundle.js (diff) | |
download | beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.gz beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.bz2 beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.lz beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.xz beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.tar.zst beziapp-d0cac8d886053feb2b688c0f7eff90dc378cebb3.zip |
Diffstat (limited to 'assets/js/meals.js')
-rw-r--r-- | assets/js/meals.js | 5 |
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); |