mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
onlyoffice: fix
This commit is contained in:
1 parent
cc6e623413
commit
29eff97c1a
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/onlyoffice",
|
"name": "@hydrooj/onlyoffice",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const page = new AutoloadPage('onlyoffice', async () => {
|
const page = new AutoloadPage('onlyoffice', async () => {
|
||||||
const res = $('div[data-doc]');
|
let res = $('div[data-doc]');
|
||||||
if (res.length) await load();
|
if (res.length) await load();
|
||||||
res.get().forEach(async (element) => {
|
res.get().forEach(async (element) => {
|
||||||
const id = `doc-${Math.random().toString()}`;
|
const id = `doc-${Math.random().toString()}`;
|
||||||
|
|||||||
Reference in new issue
Block a user