From cec3d21c48f2fc8be0bc53763c7ca7de145a48fd Mon Sep 17 00:00:00 2001 From: Jonas Leder <jonas@jonasled.de> Date: Tue, 9 Nov 2021 12:44:09 +0000 Subject: [PATCH] fix bug --- js/customElements/blogIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/customElements/blogIndex.js b/js/customElements/blogIndex.js index 665cb34..b356df7 100644 --- a/js/customElements/blogIndex.js +++ b/js/customElements/blogIndex.js @@ -16,7 +16,7 @@ class BlogIndex extends HTMLElement { article.appendChild(h2); const content = document.createElement("p"); - content.classList.appendChild("breakWord"); + content.classList.add("breakWord"); content.innerHTML = element["content"]; article.appendChild(content); -- GitLab