Reader: Notiz-Randspalte auf dem Handy nicht automatisch öffnen (SW v45)
Beim Öffnen eines Buchs mit Markierungen klappte die Randspalte auch auf schmalen Bildschirmen auf und verdeckte den Text. Auf Mobil (_isMobileReader) bleibt sie jetzt zu und ist weiter über ✎ erreichbar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
149b64b67c
commit
9d097f5fba
2 changed files with 3 additions and 2 deletions
|
|
@ -4552,7 +4552,8 @@ async function openBook(bookId) {
|
|||
|
||||
// If this book already has notes/highlights, surface them right away
|
||||
// instead of making the reader hide them behind a manual toggle.
|
||||
if (!isPdfBook && currentHighlights.length && !readerAnnotationsMarginOpen) {
|
||||
// Not on phones: there the margin covers the text; it stays one tap away (✎).
|
||||
if (!isPdfBook && currentHighlights.length && !readerAnnotationsMarginOpen && !_isMobileReader()) {
|
||||
toggleAnnotationsMargin();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* diora service worker — caches the app shell for offline use.
|
||||
*/
|
||||
|
||||
const CACHE = 'diora-v44';
|
||||
const CACHE = 'diora-v45';
|
||||
const PODCAST_CACHE = 'diora-podcast-v1';
|
||||
const SHELL = [
|
||||
'/static/css/app.css',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue