Skip to content

Commit

Permalink
fix: change modal display on counter logic
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoin95 committed Mar 28, 2024
1 parent 336d073 commit 8707678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ign-frontend/src/components/Demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export default Vue.component('Demo', {
});
document.querySelector('.preview').classList.toggle('processing');
if (conversionCount !== 0 && conversionCount % 3 === 0) {
if (conversionCount === 0 || conversionCount % 3 === 0) {
document.querySelector('.modal-window').classList.toggle('modal-window__active');
}
Expand Down

0 comments on commit 8707678

Please sign in to comment.