Update page.js
This commit is contained in:
1 parent
d103c81df1
commit
808f3c1436
1 file changed
+1
-1
@@ -643,7 +643,7 @@ async function setupCalendars() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function setupTodos() {
|
async function setupTodos() {
|
||||||
var elems = Array.prototype.slice.call(document.getElementsByClassName("todo"));
|
const elems = Array.from(document.getElementsByClassName("todo"));
|
||||||
if (elems.length == 0) return;
|
if (elems.length == 0) return;
|
||||||
|
|
||||||
const todo = await import ('./todo.js');
|
const todo = await import ('./todo.js');
|
||||||
|
|||||||
Reference in new issue
Block a user