mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Fix gapi not able to reference callback function onGoogleClientLoaded
This commit is contained in:
parent
7ebc84bec0
commit
894a7fc8e5
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue