mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
Co-authored-by: Siddhant Sehgal <ssehgal@makelearningbetter.co>
This commit is contained in:
parent
d8ed15873b
commit
17792d91a1
@ -9,7 +9,7 @@ export const declaration: CommandDeclaration = {
|
||||
export const runtime = (searchBarRef: any): CommandRuntime => {
|
||||
return {
|
||||
execute: async () => {
|
||||
if (searchBarRef.current) searchBarRef.current.focus();
|
||||
if (searchBarRef.current) searchBarRef.current.select();
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user