From 80d779aef6c9046592b3e3ff5cd0abf5f581cca0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 21 Mar 2015 12:27:19 +0100 Subject: add keyboard shortcut for focussing the search input field --- js/build/app.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js/build/app.js') diff --git a/js/build/app.js b/js/build/app.js index dea34087a..c8d8ede73 100644 --- a/js/build/app.js +++ b/js/build/app.js @@ -2459,6 +2459,12 @@ app.service('SettingsResource', ["$http", "BASE_URL", function ($http, BASE_URL) event.preventDefault(); nextFolder(navigationArea); + // q + } else if ([81].indexOf(keyCode) >= 0) { + + event.preventDefault(); + $('#searchbox').focus(); + // page up } else if ([33].indexOf(keyCode) >= 0) { tryReload(navigationArea, scrollArea); -- cgit v1.2.3