aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/commentsSection.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui/sections/commentsSection.js')
-rw-r--r--src/js/ui/sections/commentsSection.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/js/ui/sections/commentsSection.js b/src/js/ui/sections/commentsSection.js
index ba190ac..a0ee7ad 100644
--- a/src/js/ui/sections/commentsSection.js
+++ b/src/js/ui/sections/commentsSection.js
@@ -18,12 +18,19 @@ export function commentsSection()
{ element: "h2", innerText:"Comments"}
]
};
+ var content = {
+ element: "div",
+ className: "content",
+ innerHTML: [
+ { element: "em", id:"comments-sec-not-found", innerText: "No data found (yet?)!"}
+ ]
+ };
var commentsSection = {
element: 'div',
id: 'comments-section',
innerHTML: [
whereAmI,
- { element: "em", id:"comments-sec-not-found", innerText: "No data found (yet?)!"}
+ content
]
};
makeElement(commentsSection, document.querySelector('.main'));