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 f5f3d64 commit 5dbcf44Copy full SHA for 5dbcf44
packages/site-kit/src/lib/search/SearchBox.svelte
@@ -127,7 +127,11 @@ It appears when the user clicks on the `Search` component or presses the corresp
127
128
<svelte:window
129
onkeydown={(e) => {
130
- if (e.key === 'k' && !e.shiftKey && (navigator.platform === 'MacIntel' ? e.metaKey : e.ctrlKey)) {
+ if (
131
+ e.key === 'k' &&
132
+ !e.shiftKey &&
133
+ (navigator.platform === 'MacIntel' ? e.metaKey : e.ctrlKey)
134
+ ) {
135
e.preventDefault();
136
search.query = '';
137
0 commit comments