diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2020-04-21 13:17:01 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2020-04-21 13:17:01 +0300 |
| commit | 09942cf787798d82bfdacc9df533352a1970d337 (patch) | |
| tree | 38d5e68da42c73a243203a37eda8dc0cefa5702d /login.php | |
| parent | 7586dc5145f7e6527290464ba8408a0785fed0c1 (diff) | |
| download | the-epube-09942cf787798d82bfdacc9df533352a1970d337.tar.gz the-epube-09942cf787798d82bfdacc9df533352a1970d337.tar.xz | |
notify epube app on login screen
Diffstat (limited to 'login.php')
| -rw-r--r-- | login.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/login.php b/login.php index 844862d..b80792b 100644 --- a/login.php +++ b/login.php @@ -46,6 +46,15 @@ <link rel="shortcut icon" type="image/png" href="img/favicon.png" /> <link rel="manifest" href="manifest.json"> <meta name="mobile-web-app-capable" content="yes"> + <script type="text/javascript"> + $(document).ready(function() { + /* global EpubeApp */ + + if (typeof EpubeApp != "undefined") { + EpubeApp.setPage("PAGE_LOGIN"); + } + }); + </script> </head> <body> |
