Skip to content

Commit

Permalink
fix go to journal
Browse files Browse the repository at this point in the history
  • Loading branch information
cheryllium committed Jan 6, 2024
1 parent 03a4fd9 commit ecb6292
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export default class UIManager {
fishLink.href = "#journal";
fishLink.innerText = "Go to journal";
fishLink.addEventListener("click", function (event) {
event.stopPropagation();
event.stopPropagation();
journalOpen = true;
document.querySelector('#journal').classList.add("active");
this.setJournalSelected(fish);
}.bind(this));

Expand Down

0 comments on commit ecb6292

Please sign in to comment.