Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/qbreader/website
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey-wu committed Aug 4, 2023
2 parents c8662e2 + f0ad770 commit 8d1d35e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/singleplayer/bonuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function advanceQuestion() {
questionNumber++;

// Go to the next packet if you reach the end of this packet
if (questionNumber >= questions.length) {
if (questionNumber > questions.length) {
if (query.packetNumbers.length == 0) {
window.alert('No more questions left');
document.getElementById('reveal').disabled = true;
Expand Down
2 changes: 1 addition & 1 deletion client/singleplayer/tossups.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async function advanceQuestion() {
questionNumber++;

// Go to the next packet if you reach the end of this packet
if (questionNumber >= questions.length) {
if (questionNumber > questions.length) {
if (query.packetNumbers.length === 0) {
window.alert('No more questions left');
document.getElementById('buzz').disabled = true;
Expand Down

0 comments on commit 8d1d35e

Please sign in to comment.