Fix: Ausweis-Seite window.close() → location.href='/' in PWA (SW by-v872)
This commit is contained in:
parent
bda61a0e40
commit
b12467286c
1 changed files with 1 additions and 1 deletions
|
|
@ -1414,7 +1414,7 @@ async def ausweis_page(dog_id: int, request: Request):
|
|||
|
||||
<div class="body">
|
||||
<div class="no-print" style="display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px">
|
||||
<button onclick="window.history.length>1?window.history.back():window.close()"
|
||||
<button onclick="window.history.length>1?window.history.back():(window.location.href='/')"
|
||||
style="background:#f0e6d3;color:#7a4a1e;border:none;border-radius:100px;
|
||||
padding:10px 20px;font-size:0.9rem;cursor:pointer;font-weight:600">
|
||||
← Zurück zur App
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue