1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

Update onlyoffice_file_view_react.html

This commit is contained in:
r350178982
2025-04-21 13:29:10 +08:00
parent 0b8aa00f4d
commit 4053f6597a

View File

@@ -145,7 +145,11 @@
{% endif %} {% endif %}
} }
}; };
var docEditor = new DocsAPI.DocEditor("placeholder", config);
window.onload = function () {
var docEditor = new DocsAPI.DocEditor("placeholder", config);
};
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
var SEAFILE_GLOBAL = { var SEAFILE_GLOBAL = {