hotfix (remove setTitle call)
it needs to go somewhere but that will be figured out later This is why we need unit tests
This commit is contained in:
parent
1a9443e079
commit
057f00e478
1 changed files with 13 additions and 14 deletions
|
@ -5,19 +5,19 @@ const url_tag = location.hash.slice(1);
|
||||||
|
|
||||||
const BUILD_VERSION = "7.0.19";
|
const BUILD_VERSION = "7.0.19";
|
||||||
|
|
||||||
function setTitle() {
|
// function setTitle() {
|
||||||
let text;
|
// let text;
|
||||||
if (url_base.includes("hppeng-wynn")) {
|
// if (url_base.includes("hppeng-wynn")) {
|
||||||
text = "WynnBuilder UNSTABLE version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
|
// text = "WynnBuilder UNSTABLE version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
|
||||||
}
|
// }
|
||||||
else {
|
// else {
|
||||||
text = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
|
// text = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
|
||||||
document.getElementById("header").classList.add("funnynumber");
|
// document.getElementById("header").classList.add("funnynumber");
|
||||||
}
|
// }
|
||||||
document.getElementById("header").textContent = text;
|
// document.getElementById("header").textContent = text;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
setTitle();
|
// setTitle();
|
||||||
|
|
||||||
let player_build;
|
let player_build;
|
||||||
|
|
||||||
|
@ -1026,7 +1026,6 @@ function optimizeStrDex() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
calculateBuildStats();
|
calculateBuildStats();
|
||||||
setTitle();
|
|
||||||
if (player_build.errored)
|
if (player_build.errored)
|
||||||
throw new ListError(player_build.errors);
|
throw new ListError(player_build.errors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue