2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 07:41:04 +00:00

Merge branch 'development' of https://github.com/krishkumar/nativefier into krishkumar-development

- #90 Add keyboard shortcuts for back, forward
This commit is contained in:
Jia Hao 2016-01-30 02:13:10 +08:00
commit 52c518f4b7

View File

@ -67,12 +67,14 @@ function createMenu(nativefierVersion, onQuit, onGoBack, onGoForward, onZoomIn,
submenu: [ submenu: [
{ {
label: 'Back', label: 'Back',
accelerator: 'CmdOrCtrl+[',
click: () => { click: () => {
onGoBack(); onGoBack();
} }
}, },
{ {
label: 'Forward', label: 'Forward',
accelerator: 'CmdOrCtrl+]',
click: () => { click: () => {
onGoForward(); onGoForward();
} }