bugfix fix
diff --git a/init.js b/init.js
index 7ebd93b..18e26e6 100644
--- a/init.js
+++ b/init.js
@@ -570,9 +570,11 @@
dtps.selectedClass = "stream";
dtps.selectedContent = "stream";
if (window.localStorage.fluidIsDark == "true") { var dark = " active" } else { var dark = "" }
- var trackDom = "";
+ var relDom = "";
if (dtps.trackSuffix !== "") {
- dtps.readableVer.replace(dtps.trackSuffix, `<div style="display:inline-block;" class="beta badge notice">` + dtps.trackSuffix.replace(" (", "").replace(")", "") + `</div>`)
+ relDom = dtps.readableVer.replace(dtps.trackSuffix, `<div style="display:inline-block;" class="beta badge notice">` + dtps.trackSuffix.replace(" (", "").replace(")", "") + `</div>`);
+ } else {
+ relDom = dtps.readableVer;
}
jQuery("body").html(`
<div class="sidebar">
@@ -605,7 +607,7 @@
<div style="width: calc(80%);border-radius: 30px;" class="card focus close abt">
<i onclick="fluid.cards.close('.card.abt')" class="material-icons close">close</i>
<h3>About</h3>
- <h5>Project DTPS ` + trackDom + `</h5>
+ <h5>Project DTPS ` + relDom + `</h5>
Logged in as ` + dtps.user.first_name + ` ` + dtps.user.last_name + ` (` + 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><div style="display:inline-block;" class="beta badge notice og">OG <i style="vertical-align: middle;" class="material-icons og">star</i></div><div style="display:inline-block;" class="beta badge notice contributor">contributor <i style="vertical-align: middle;" class="material-icons contributor">group</i></div>
<p>Made by <a href="https://github.com/jottocraft">jottocraft</a></p>
<br />