View menu: put dev menu items at bottom
This commit is contained in:
parent
fd7c819a4e
commit
8dbf9b9f11
1 changed files with 10 additions and 7 deletions
17
index.js
17
index.js
|
|
@ -164,13 +164,6 @@ var template = [
|
|||
{
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'CmdOrCtrl+R',
|
||||
click: function (item, focusedWindow) {
|
||||
if (focusedWindow) focusedWindow.reload()
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Toggle Full Screen',
|
||||
accelerator: (function () {
|
||||
|
|
@ -181,6 +174,16 @@ var template = [
|
|||
if (focusedWindow) focusedWindow.setFullScreen(!focusedWindow.isFullScreen())
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: 'CmdOrCtrl+R',
|
||||
click: function (item, focusedWindow) {
|
||||
reload(focusedWindow)
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Toggle Developer Tools',
|
||||
accelerator: (function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue