Anki/ts/routes/card-info/[cardId]
llama b726e28229
Remove use of window.location.href in CardInfoDialog (#3621)
* Replace window.location in CardInfoDialog with load_sveltekit_page

* Fix format

* Fix ForgettingCurve's reactivity

* Props' default args aren't reactive

* Add global _updateCardId fn to card-info

* Use _updateCardId to reactively update card-info

* Fix format

* Fix type

* Use dummy form instead of window global for client-side nav

* Fallback to window.location in case form hasn't been rendered

* Use window.postMessage instead of dummy <form>
2024-12-14 22:45:54 +11:00
..
+page.svelte Remove use of window.location.href in CardInfoDialog (#3621) 2024-12-14 22:45:54 +11:00
+page.ts Fix CardInfoPlaceholder not showing when card id is invalid (#3631) 2024-12-14 21:32:51 +11:00