Skip to content

Commit

Permalink
Fix: close modal-more after choosing a type from it
Browse files Browse the repository at this point in the history
  • Loading branch information
Binnette committed Aug 20, 2024
1 parent 7f0afc5 commit 2874350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ function is404(err) {

// disable button and go to next element
function onClickNext() {
toggleModal(false, 'modal-more');
$('.action').prop('disabled', true);
skipped++;
$('#skipped').text(skipped);
Expand All @@ -349,6 +348,7 @@ function onClickNext() {

// go to the next parking
function next() {
toggleModal(false, 'modal-more');
if (index >= total) {
$('#total-done').text(total);
$('#solved-done').text(solved);
Expand Down

0 comments on commit 2874350

Please sign in to comment.