onlyoffice: fix

This commit is contained in:
undefined committed 2021-05-21 18:17:10 +08:00
1 parent cc6e623413
commit 29eff97c1a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/onlyoffice",
"version": "1.0.2",
"version": "1.0.3",
"main": "package.json",
"repository": "git@github.com:hydro-dev/Hydro.git",
"author": "undefined <i@undefined.moe>",
+1 -1
View File
@@ -17,7 +17,7 @@
}
const page = new AutoloadPage('onlyoffice', async () => {
const res = $('div[data-doc]');
let res = $('div[data-doc]');
if (res.length) await load();
res.get().forEach(async (element) => {
const id = `doc-${Math.random().toString()}`;