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:
parent
fed3ee4c4f
commit
218882b7c6
@ -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…
Reference in New Issue
Block a user