Skip to content

Commit

Permalink
mehr infos werden eingeklappt, wenn quiz karte gewechselt wird [see w…
Browse files Browse the repository at this point in the history
  • Loading branch information
binfalse committed Aug 19, 2017
1 parent d692c24 commit 6900a91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/quiz/quiz.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ export class QuizComponent implements OnInit, AfterContentInit, AfterViewInit, A
//console.log ("showing question " + n);
this.app.questionIndex = n;
window.scrollTo(0,0);

// alle more-infos wieder einklappen
for (const q in this.moreInfos) {
this.moreInfos[q] = false;
}

// there is no question with negative index...
if (this.app.questionIndex < 0) {
Expand Down

0 comments on commit 6900a91

Please sign in to comment.