forked from 0x2620/pandora
fix #1182 (add keyboard shortcut to move focus to main menu)
This commit is contained in:
parent
5a11e40fb4
commit
6d25cd8da2
1 changed files with 5 additions and 0 deletions
|
@ -472,6 +472,11 @@ pandora.ui.mainMenu = function() {
|
|||
}
|
||||
}
|
||||
},
|
||||
key_control_m: function() {
|
||||
if (!pandora.hasDialogOrScreen() && !that.isSelected()) {
|
||||
that.options('menus')[0].element.trigger('click');
|
||||
}
|
||||
},
|
||||
key_control_p: function() {
|
||||
window.open(document.location.href + '#?print=true', '_blank');
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue