We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d4ce3 commit dc01df6Copy full SHA for dc01df6
_includes/scripts.html
@@ -60,7 +60,9 @@
60
);
61
62
document.addEventListener("keydown", function (event) {
63
- if (event.metaKey && event.key === "k") {
+ const isMac = navigator.userAgent.includes('Mac');
64
+ if ((event.key === "k") && ((isMac && event.metaKey) || (!isMac && event.ctrlKey))) {
65
+ event.preventDefault();
66
window.CommandBar.openHelpHub();
67
setTimeout(() => {
68
document.querySelector('input[data-testid=helphub-input]').focus()
0 commit comments