git ssb

10+

Matt McKegg / patchwork



Commit 3005b194df65a28b27f0ee8583b9f3dc9b821f70

swap back and forward menu items to match chrome order

#802
Matt McKegg committed on 5/14/2018, 12:54:52 AM
Parent: 903ae57ad0b262c3a6121da6deca07aad6f1ab66

Files changed

index.jschanged
index.jsView
@@ -51,19 +51,19 @@
5151 menu.splice(4, 0, {
5252 label: 'History',
5353 submenu: [
5454 {
55- label: 'Forward',
56- accelerator: 'CmdOrCtrl+]',
55 + label: 'Back',
56 + accelerator: 'CmdOrCtrl+[',
5757 click: () => {
58- browserWindow.webContents.send('goForward')
58 + browserWindow.webContents.send('goBack')
5959 }
6060 },
6161 {
62- label: 'Back',
63- accelerator: 'CmdOrCtrl+[',
62 + label: 'Forward',
63 + accelerator: 'CmdOrCtrl+]',
6464 click: () => {
65- browserWindow.webContents.send('goBack')
65 + browserWindow.webContents.send('goForward')
6666 }
6767 }
6868 ]
6969 })

Built with git-ssb-web