Changing Search Key to not conflict with browsers
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
[JSInvokable("OnKeyPress")]
|
||||
public async Task OnKeyPress(string code, bool ctrlKey, bool shiftKey, bool altKey, bool metaKey)
|
||||
{
|
||||
if (code.ToLower().Equals("k") && (ctrlKey || shiftKey || altKey || metaKey))
|
||||
if (code.ToLower().Equals("/"))
|
||||
{
|
||||
if (searchService.IsVisible)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user