fix: ctrl + h shortuct doesnt toggle sidebar , routes to home
This commit is contained in:
parent
69d11a0530
commit
8741ef7fd1
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ frappe.ui.keys.add_shortcut({
|
|||
shortcut: "ctrl+h",
|
||||
action: function (e) {
|
||||
e.preventDefault();
|
||||
$(".navbar-home img").click();
|
||||
frappe.set_route("/app");
|
||||
},
|
||||
description: __("Navigate Home"),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue