feat(gui): access to top from menu
This commit is contained in:
@ -18,6 +18,13 @@ export const manageMenuTemplate = {
|
|||||||
click: () => {
|
click: () => {
|
||||||
BrowserWindow.getFocusedWindow().webContents.send('url', '/')
|
BrowserWindow.getFocusedWindow().webContents.send('url', '/')
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Top",
|
||||||
|
accelerator: "CmdOrCtrl+t",
|
||||||
|
click: () => {
|
||||||
|
BrowserWindow.getFocusedWindow().webContents.send('url', '/top')
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user