1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

remove debug console.log

This commit is contained in:
Harvey Tindall 2021-02-08 11:50:58 +00:00
parent fed3ee4c4f
commit 218882b7c6
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -400,7 +400,6 @@ window.onpopstate = (event: PopStateEvent) => {
const card = cards[i]; const card = cards[i];
const back = card.getElementsByClassName("back")[0] as HTMLSpanElement; const back = card.getElementsByClassName("back")[0] as HTMLSpanElement;
const next = card.getElementsByClassName("next")[0] as HTMLSpanElement; const next = card.getElementsByClassName("next")[0] as HTMLSpanElement;
console.log(cards[i]);
const titleEl = cards[i].querySelector("span.heading") as HTMLElement; const titleEl = cards[i].querySelector("span.heading") as HTMLElement;
let title = titleEl.textContent.replace("/", "_").replace(" ", "-"); let title = titleEl.textContent.replace("/", "_").replace(" ", "-");
if (titleEl.classList.contains("welcome")) { if (titleEl.classList.contains("welcome")) {