mirror of https://github.com/status-im/codimd.git
Fix gapi not able to reference callback function onGoogleClientLoaded
This commit is contained in:
parent
7ebc84bec0
commit
894a7fc8e5
|
@ -1536,6 +1536,7 @@ function onGoogleClientLoaded() {
|
||||||
googleApiAuth(true);
|
googleApiAuth(true);
|
||||||
buildImportFromGoogleDrive();
|
buildImportFromGoogleDrive();
|
||||||
}
|
}
|
||||||
|
window.onGoogleClientLoaded = onGoogleClientLoaded;
|
||||||
// export to google drive
|
// export to google drive
|
||||||
ui.toolbar.export.googleDrive.click(function (e) {
|
ui.toolbar.export.googleDrive.click(function (e) {
|
||||||
var token = gapi.auth.getToken();
|
var token = gapi.auth.getToken();
|
||||||
|
|
Loading…
Reference in New Issue