Skip to content

Commit b28cabe

Browse files
🤖 format everything with pre-commit by <stirlingbot> (#3300)
Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
1 parent 1de1f43 commit b28cabe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: src/main/resources/static/js/googleFilePicker.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function gisLoaded() {
2020
});
2121
}
2222

23-
// add more as needed.
23+
// add more as needed.
2424
// Google picker is limited on what mimeTypes are supported
2525
// Wild card are not supported
2626
const expandableMimeTypes = {
@@ -29,10 +29,10 @@ const expandableMimeTypes = {
2929

3030
function fileInputToGooglePickerMimeTypes(accept) {
3131

32-
if(accept == null || accept == "" || accept.includes("*/*")){
32+
if(accept == null || accept == "" || accept.includes("*/*")){
3333

3434
// Setting null will accept all supported mimetypes
35-
return null;
35+
return null;
3636
}
3737

3838
let mimeTypes = [];
@@ -57,7 +57,7 @@ function fileInputToGooglePickerMimeTypes(accept) {
5757
*/
5858
function gapiLoaded() {
5959
gapi.load("client:picker", initializePicker);
60-
}
60+
}
6161

6262
/**
6363
* Callback after the API client is loaded. Loads the
@@ -68,7 +68,7 @@ async function initializePicker() {
6868
}
6969

7070
function setupGoogleDrivePicker(picker) {
71-
71+
7272
const name = picker.getAttribute('data-name');
7373
const accept = picker.getAttribute('data-accept');
7474
const multiple = picker.getAttribute('data-multiple') === "true";

0 commit comments

Comments
 (0)