Skip to content

Commit

Permalink
Merge pull request #21 from ShahinSorkh/main
Browse files Browse the repository at this point in the history
remove a misplaced semicolon so model reloads only when needed
  • Loading branch information
nhtua committed May 14, 2023
2 parents 9df3bd0 + 92c3cec commit b8b301c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
updateParam(elem);
elem.addEventListener('change', (event) => {
updateParam(event.target);
if (event.target.dataset.inputType === 'load');
loadapp();
if (event.target.dataset.inputType === 'load')
loadapp();
});
});

Expand Down

0 comments on commit b8b301c

Please sign in to comment.