File tree 1 file changed +5
-5
lines changed
src/main/resources/static/js
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function gisLoaded() {
20
20
} ) ;
21
21
}
22
22
23
- // add more as needed.
23
+ // add more as needed.
24
24
// Google picker is limited on what mimeTypes are supported
25
25
// Wild card are not supported
26
26
const expandableMimeTypes = {
@@ -29,10 +29,10 @@ const expandableMimeTypes = {
29
29
30
30
function fileInputToGooglePickerMimeTypes ( accept ) {
31
31
32
- if ( accept == null || accept == "" || accept . includes ( "*/*" ) ) {
32
+ if ( accept == null || accept == "" || accept . includes ( "*/*" ) ) {
33
33
34
34
// Setting null will accept all supported mimetypes
35
- return null ;
35
+ return null ;
36
36
}
37
37
38
38
let mimeTypes = [ ] ;
@@ -57,7 +57,7 @@ function fileInputToGooglePickerMimeTypes(accept) {
57
57
*/
58
58
function gapiLoaded ( ) {
59
59
gapi . load ( "client:picker" , initializePicker ) ;
60
- }
60
+ }
61
61
62
62
/**
63
63
* Callback after the API client is loaded. Loads the
@@ -68,7 +68,7 @@ async function initializePicker() {
68
68
}
69
69
70
70
function setupGoogleDrivePicker ( picker ) {
71
-
71
+
72
72
const name = picker . getAttribute ( 'data-name' ) ;
73
73
const accept = picker . getAttribute ( 'data-accept' ) ;
74
74
const multiple = picker . getAttribute ( 'data-multiple' ) === "true" ;
You can’t perform that action at this time.
0 commit comments