Update page.js
This commit is contained in:
parent
d103c81df1
commit
808f3c1436
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue