Skip to content

Commit

Permalink
fix: being able to click on punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Nov 5, 2023
1 parent 39f7efa commit 963e684
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-ui/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ fn Word(word: Word, i: usize, word_selector: WriteSignal<Option<usize>>) -> impl
<span
class=class
on:click=move |_| {
word_selector.set(Some(i));
if word.clickable {
word_selector.set(Some(i));
}
}
>

Expand Down

0 comments on commit 963e684

Please sign in to comment.