aboutsummaryrefslogtreecommitdiff
path: root/views/script/credits_libs.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/credits_libs.js')
-rw-r--r--views/script/credits_libs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/script/credits_libs.js b/views/script/credits_libs.js
index 9e2f21a..26ee36b 100644
--- a/views/script/credits_libs.js
+++ b/views/script/credits_libs.js
@@ -1,15 +1,15 @@
Object.keys(process.versions).forEach((e) => {
v = process.versions[e];
- document.write(e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors<br>");
+ document.write("<div>" + e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors</div>");
})
dirs = require('fs').readdirSync("./node_modules");
dirs.forEach((dir) => {
if (!dir.startsWith(".") && !dir.startsWith("@") && dir !== "electron") {
j = JSON.parse(require('fs').readFileSync("./node_modules/" + dir + "/package.json").toString());
if (typeof j.author === "string") {
- document.write(j.author + "<br>");
+ document.write("<div>" + j.author + "</div>");
} else {
- document.write(j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors<br>");
+ document.write("<div>" + j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors</div>");
}
}
}) \ No newline at end of file