Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
title shows version, not error text
  • Loading branch information
Gurge44 committed Jul 17, 2023
1 parent 3a6d400 commit c51ebca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
document.getElementById("error").innerHTML = "Loading....";
let version = "v3.0.1";
document.getElementById("title").innerHTML += " " + version;
toastr.options.progressBar = true;

import { WORDS } from "./words.js";
Expand Down Expand Up @@ -824,7 +825,6 @@ async function correctGuessBounce() {
}

document.getElementById("error").innerHTML = "";
document.getElementById("error").innerHTML = version;

document.addEventListener("keyup", (e) => {

Expand Down

0 comments on commit c51ebca

Please sign in to comment.