update beta badge thing adaptive
diff --git a/init.js b/init.js
index 09ea7ac..d646b8d 100644
--- a/init.js
+++ b/init.js
@@ -1,7 +1,7 @@
var dtps = {
ver: 030,
- readableVer: "v0.3.0 (Beta)",
- trackSuffix: " (Beta)",
+ readableVer: "v0.3.0 (beta)",
+ trackSuffix: " (beta)",
showLetters: false,
pePDV: false
};
@@ -528,7 +528,7 @@
</div>
<div style="width: calc(80%);border-radius: 30px;" class="card focus close abt">
<h3>About</h3>
- <h5>Project DTPS ` + dtps.readableVer.replace("(Beta)", `<div style="display:inline-block;" class="beta badge notice">beta</div>`) + `</h5>
+ <h5>Project DTPS ` + dtps.readableVer.replace(dtps.trackSufix, `<div style="display:inline-block;" class="beta badge notice">` + dtps.trackSuffix.replace(" ", "").replace("(", "").replace(")", "") + `</div>`) + `</h5>
Logged in as user ` + dtps.user.login + `<div style="display:inline-block;" class="beta badge notice sudo">tester <i style="vertical-align: middle;" class="material-icons sudo">experiment</i></div><div style="display:inline-block;" class="beta badge notice dev">developer <i style="vertical-align: middle;" class="material-icons dev">code</i></div>
<p>Made by <a href="https://github.com/jottocraft">jottocraft</a><span class="sudo"> | Experimental features enabled for this account</span></p>
<br />