Merge pull request #583

Open search field by pressing the '/' key
This commit is contained in:
Frédéric Guillot 2016-12-12 22:05:42 -05:00 committed by GitHub
commit 74d8a91ae5
2 changed files with 8 additions and 0 deletions

View File

@ -713,6 +713,10 @@ Miniflux.Event = (function() {
case 63: case 63:
Miniflux.Nav.ShowHelp(); Miniflux.Nav.ShowHelp();
break; break;
case '/':
case 47:
Miniflux.Nav.ShowSearch();
break;
case 'Q': case 'Q':
case 81: // Q case 81: // Q
case 'q': case 'q':

View File

@ -196,6 +196,10 @@ Miniflux.Event = (function() {
case 63: case 63:
Miniflux.Nav.ShowHelp(); Miniflux.Nav.ShowHelp();
break; break;
case '/':
case 47:
Miniflux.Nav.ShowSearch();
break;
case 'Q': case 'Q':
case 81: // Q case 81: // Q
case 'q': case 'q':