summaryrefslogtreecommitdiff
path: root/scripts/onload.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/onload.js')
-rw-r--r--scripts/onload.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/onload.js b/scripts/onload.js
index 9d9226e..10dcf1d 100644
--- a/scripts/onload.js
+++ b/scripts/onload.js
@@ -18,3 +18,8 @@ function blog(n) {
// addNodes is called in loadPost(n);
loadPost(n);
}
+
+function index() {
+ postList(2);
+ addNodes();
+}