From 39539313c9a18a727aa9e16b6b5f0acff7c2f1bc Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 24 Apr 2026 10:20:48 +0300 Subject: [PATCH] add create plan buttons to texts list --- public/js/home.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/home.js b/public/js/home.js index 3e7cde8..700bef8 100644 --- a/public/js/home.js +++ b/public/js/home.js @@ -5,7 +5,11 @@ document.addEventListener('DOMContentLoaded', () => { const response = await fetch('/api/texts'); const texts = await response.json(); textsList.innerHTML = texts - .map(text => '
  • ' + text.name + '
  • ') + .map(text => + '
  • ' + text.name + + '
  • ' + ) .join(''); }