remove debug console.log

pull/61/head
Harvey Tindall 4 years ago
parent fed3ee4c4f
commit 218882b7c6
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -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")) {

Loading…
Cancel
Save