aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-11 18:07:02 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-11 18:07:02 +0200
commitd85454fbf866fd9bbd1b824bd045b7671ed498b9 (patch)
tree7c24b23c895aa909f50525d5e9a422d400c5b336 /src
parentf59601fced49d04a38b27e8b017b5e35cd851747 (diff)
downloadwallabag-d85454fbf866fd9bbd1b824bd045b7671ed498b9.tar.gz
wallabag-d85454fbf866fd9bbd1b824bd045b7671ed498b9.tar.zst
wallabag-d85454fbf866fd9bbd1b824bd045b7671ed498b9.zip
add focus to search form
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js
index eee3903e..fdfda380 100755
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js
@@ -21,6 +21,7 @@ $(document).ready(function(){
21 $(".nav-panels .action").hide(100); 21 $(".nav-panels .action").hide(100);
22 $(".nav-panel-menu").addClass('hidden'); 22 $(".nav-panel-menu").addClass('hidden');
23 $(".nav-panels").css('background', 'white'); 23 $(".nav-panels").css('background', 'white');
24 $("#searchfield").focus();
24 return false; 25 return false;
25 }); 26 });
26 $('.mdi-navigation-close').click(function(){ 27 $('.mdi-navigation-close').click(function(){
@@ -32,4 +33,4 @@ $(document).ready(function(){
32 $(".nav-panels").css('background', 'transparent'); 33 $(".nav-panels").css('background', 'transparent');
33 return false; 34 return false;
34 }); 35 });
35}); \ No newline at end of file 36});