Skip to content

Commit

Permalink
Disabled minimum score to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Veron-AccNL committed Feb 1, 2021
1 parent 6416f50 commit 9460ea7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/js/stars.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function showScore(score = 0) {
$('#score-label').css( 'margin-left', score > 10 ? (score/maxScore)*100 + '%' : '1rem' );

// hide next button if score too low
if (score < 100)
$('#score-next-button').css('display', 'none');
//if (score < 100)
// $('#score-next-button').css('display', 'none');

// show it
$('#score-background').css('display', 'flex');
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/mixins/level-mixins.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ mixin level-bar(currentIndex)
.level-dash
else if i == currentIndex
.level-icon
img(src=level.data.icon alt=`Icoon for the ${level.data.title} level.`)
img(src=level.data.icon alt=`Icon for the ${level.data.title} level.`)
else if i > currentIndex
.level-dash
a(href=level.url title=`Ga to the ${level.data.title} level`).level-number= i+1
a(href=level.url title=`Go to the ${level.data.title} level`).level-number= i+1



Expand Down

0 comments on commit 9460ea7

Please sign in to comment.