mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
Merge branch 'stable'
This commit is contained in:
@@ -24,14 +24,20 @@ $(document).bind('keydown', 'alt+t', () => {
|
||||
});
|
||||
|
||||
$(document).bind('keydown', 'f5', () => {
|
||||
location.reload();
|
||||
window.location.reload(true);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$(document).bind('keydown', 'ctrl+r', () => {
|
||||
window.location.reload(true);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$(document).bind('keydown', 'ctrl+shift+i', () => {
|
||||
if (isElectron()) {
|
||||
require('remote').getCurrentWindow().toggleDevTools();
|
||||
require('electron').remote.getCurrentWindow().toggleDevTools();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user