Skip to content

Commit 6047b56

Browse files
committed
Added missing Load for the realtime api.
1 parent 7db9193 commit 6047b56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/imageBrowser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
* Load Drive API client library.
5858
*/
5959
function loadDriveApi() {
60+
//load realtime api.
61+
62+
gapi.load('auth:client,drive-realtime,drive-share', start);
63+
6064
gapi.client.load('drive', 'v2', function () {
6165
// Get query param "id"
6266
var param = location.search.substring(1).split("&")

0 commit comments

Comments
 (0)