Skip to content

Commit

Permalink
fix: don't open link in browser when using desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Jan 31, 2021
1 parent 0c6064b commit ebc55b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/frontend/components/journal.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
(:db/id page)
:page
{:page page
:journal? true}))))}
:journal? true}))
(.preventDefault e)))}
[:h1.title
(util/capitalize-all title)]]

Expand Down

0 comments on commit ebc55b2

Please sign in to comment.