Skip to content

Commit

Permalink
- fixed intro screen version label
Browse files Browse the repository at this point in the history
  • Loading branch information
firestorm40 committed Sep 6, 2024
1 parent 1f04bb2 commit 3dbf55c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Spixi/Resources/Raw/html/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h4>16. Entire Agreement</h4>
</div>
<div class="version-div">
<div class="versionid">
<div id="version" class="caption-03">v0.7.0</div>
<div id="version" class="caption-03"></div>
</div>
</div>
</div>
Expand Down Expand Up @@ -183,7 +183,10 @@ <h4>16. Entire Agreement</h4>
}

function setVersion(version) {

if (version.startsWith("spixi-")) {
version = "v" + version.substring(6);
}
document.getElementById("version").innerHTML = version;
}

function prepareIntro() {
Expand Down

0 comments on commit 3dbf55c

Please sign in to comment.