Skip to content

Commit

Permalink
fix: correct function name
Browse files Browse the repository at this point in the history
  • Loading branch information
rivexe committed Jun 20, 2024
1 parent 5cc1218 commit dcb24fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
fileList.add(response, { animate: true });
if (open) {
let fileName = response.name;
let extension = OCA.Onlyoffice.getFileExtension(fileName);
let extension = OCA.Onlyoffice.GetFileExtension(fileName);
let forceEdit = OCA.Onlyoffice.setting.formats[extension].fillForms;
OCA.Onlyoffice.OpenEditor(response.id, dir, fileName, winEditor, forceEdit);
}
Expand Down

0 comments on commit dcb24fb

Please sign in to comment.