Commit b4e33192 authored by Björn Eyselein's avatar Björn Eyselein
Browse files

Deleted console statements

parent ac8c3557
......@@ -244,7 +244,6 @@ domReady(() => {
if (event.key === 'Enter') {
if (event.ctrlKey) {
readQuestionButton.click();
console.info("Pressed strg + enter!");
} else if (canSolve) {
checkSolutionBtn.click();
} else {
......
......@@ -33,8 +33,6 @@ function buildChoiceAnswers(choiceAnswers: ChoiceAnswer[]): string {
function updateView(flashcard: Flashcard): void {
console.info(JSON.stringify(flashcard, null, 2));
// Update question text
let questionText: string;
if (flashcard.frontToBack) {
......@@ -42,9 +40,6 @@ function updateView(flashcard: Flashcard): void {
} else {
questionText = flashcard.back + (flashcard.backHint !== undefined ? ` <i>${flashcard.backHint}</i>` : '');
}
console.warn(questionText);
document.querySelector<HTMLHeadingElement>('#questionDiv').innerHTML = questionText;
// Update tries counter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment