fix: ctrl + h shortuct doesnt toggle sidebar , routes to home

This commit is contained in:
sokumon 2025-01-05 03:11:37 +05:30
parent 69d11a0530
commit 8741ef7fd1

View file

@ -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"),
});