mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-24 23:58:32 +00:00
Add keyboard shortcut for back, forward
This commit is contained in:
parent
f45098d543
commit
6f98248a60
@ -70,12 +70,14 @@ function createMenu(nativefierVersion, onQuit, onGoBack, onGoForward, onZoomIn,
|
|||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
label: 'Back',
|
label: 'Back',
|
||||||
|
accelerator: 'CmdOrCtrl+[',
|
||||||
click: function() {
|
click: function() {
|
||||||
onGoBack();
|
onGoBack();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Forward',
|
label: 'Forward',
|
||||||
|
accelerator: 'CmdOrCtrl+]',
|
||||||
click: function() {
|
click: function() {
|
||||||
onGoForward();
|
onGoForward();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user