Commit 39ffa97
authored
fix: make pause at end of page work with any translation (#579)
We were excluding sentences that had both class .translation and class
.sentence__translation from the list of sentences to figure how which is
the last sentence in a page, but we should exclude any sentence with
either of those classes, or with do-no-align=true.
Depending on how translations are added to a read-along, we don't always set
both classes, so let's filter out anything that might be a translation when we
are playing in the web-component.
Fixes #5781 parent 6901d6d commit 39ffa97
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
1128 | | - | |
| 1128 | + | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
0 commit comments