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
1 changed files with 2 additions and 0 deletions

View File

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