forked from 0x2620/pandora
fix #1141 (when pressing ctrl+f, the current find value should get selected)
This commit is contained in:
parent
edb5ab3efc
commit
6f1ef4cffd
1 changed files with 3 additions and 1 deletions
|
@ -454,7 +454,9 @@ pandora.ui.mainMenu = function() {
|
|||
key_control_f: function() {
|
||||
if (!pandora.hasDialogOrScreen()) {
|
||||
if (pandora.user.ui._findState.key != 'advanced') {
|
||||
setTimeout(function() {
|
||||
pandora.$ui.findInput.focusInput(true);
|
||||
}, 25);
|
||||
} else {
|
||||
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue