From 677e3a2f73d837397cc2191adba712aff09fea10 Mon Sep 17 00:00:00 2001 From: Mehdi ABAAKOUK Date: Tue, 3 Jan 2012 10:11:24 +0100 Subject: [PATCH] Load first item by default --- templates/layout.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/layout.html b/templates/layout.html index 10a4a80..90c18c5 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -89,6 +89,9 @@ break; } }); + if (document.location.pathname == "/"){ + $("#submit").click() + } });