diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-08-11 20:00:30 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-08-11 20:00:30 +0200 |
commit | 95135988f9fdc96c3e424aa75c8a10a50dd02310 (patch) | |
tree | 7c24b23c895aa909f50525d5e9a422d400c5b336 /src/Wallabag | |
parent | f59601fced49d04a38b27e8b017b5e35cd851747 (diff) | |
parent | d85454fbf866fd9bbd1b824bd045b7671ed498b9 (diff) | |
download | wallabag-95135988f9fdc96c3e424aa75c8a10a50dd02310.tar.gz wallabag-95135988f9fdc96c3e424aa75c8a10a50dd02310.tar.zst wallabag-95135988f9fdc96c3e424aa75c8a10a50dd02310.zip |
Merge pull request #1316 from wallabag/v2-focus-searchform
fix #1310 add focus to search form
Diffstat (limited to 'src/Wallabag')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js | 3 |
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 | }); |