diff options
Diffstat (limited to 'views/footer.php')
| -rw-r--r-- | views/footer.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/footer.php b/views/footer.php index b457da8..22c4631 100644 --- a/views/footer.php +++ b/views/footer.php @@ -1,3 +1,16 @@ </article> </body> +<script type="text/javascript"> + function eval_callbacks() { + if (authentication_response === null) { + setTimeout(eval_callbacks, 50); + } + else if (authentication_response !== "") { + for (callback of authentication_callbacks) { + callback(authentication_response); + } + } + } + eval_callbacks(); +</script> </html> |
