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