From 596b6e7b690974b5a612496977be085b503439b2 Mon Sep 17 00:00:00 2001 From: mossroy Date: Fri, 2 Aug 2013 10:15:18 +0200 Subject: [PATCH] Give the focus to the search field when going to the Home section. It outlines the search field, which makes it more visible. It also makes the keyboard appear on mobile device, which invites the user to type something It makes it a bit more clear for the user on what to do Fixes #40 --- js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/app.js b/js/app.js index 3082a124..4cb28c07 100644 --- a/js/app.js +++ b/js/app.js @@ -46,6 +46,7 @@ define(function(require) { if ($('#navbarToggle').is(":visible") && $('#liHomeNav').is(':visible')) { $('#navbarToggle').click(); } + $('#prefix').focus(); return false; }); $('#btnConfigure').on('click', function(e) {