mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
7bd0df408d
commit
7bd5ec28ae
@@ -25,6 +25,7 @@ const keys_map = new Map([
|
||||
const fn_shortcuts = new Set(["Home", "End", "PgUp", "PgDn"]);
|
||||
|
||||
export function has_mac_keyboard(): boolean {
|
||||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
return /mac/i.test(navigator.platform);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user