aboutsummaryrefslogtreecommitdiff
path: root/src/js/ui/sections/statsSection.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/ui/sections/statsSection.js')
-rw-r--r--src/js/ui/sections/statsSection.js15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/js/ui/sections/statsSection.js b/src/js/ui/sections/statsSection.js
index 115cd68..c88bfe5 100644
--- a/src/js/ui/sections/statsSection.js
+++ b/src/js/ui/sections/statsSection.js
@@ -20,11 +20,10 @@ export function statsSection()
{ element: "h2", innerText:"Stats"}
]
};
- var statsSection = {
- element: 'div',
- id: "stats-section",
+ var content = {
+ element : "div",
+ className: "content",
innerHTML: [
- whereAmI,
{ element: "div", className: "available-networks", innerHTML: [
{ element: "h3", innerText: "Networks" },
{ element: "details", className: "stellar-network", innerHTML:[
@@ -39,6 +38,14 @@ export function statsSection()
]}
]
};
+ var statsSection = {
+ element: 'div',
+ id: "stats-section",
+ innerHTML: [
+ whereAmI,
+ content
+ ]
+ };
makeElement(statsSection, document.querySelector('.main'));
}
// @license-end