diff options
author | Wu Cheng-Han | 2016-10-20 12:22:59 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-20 12:22:59 +0800 |
commit | 894a7fc8e5012fe446ecfce27de7b9014a1af045 (patch) | |
tree | feb7cd9db4547cbaf1e3d67b88b1fdb1ee1f93e6 | |
parent | 7ebc84bec0bf8f6e1f28e5fb3e9e7449bd7a2347 (diff) |
Fix gapi not able to reference callback function onGoogleClientLoaded
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index d85a0902..4be11e86 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1536,6 +1536,7 @@ function onGoogleClientLoaded() { googleApiAuth(true); buildImportFromGoogleDrive(); } +window.onGoogleClientLoaded = onGoogleClientLoaded; // export to google drive ui.toolbar.export.googleDrive.click(function (e) { var token = gapi.auth.getToken(); |