mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fix tests
This commit is contained in:
parent
6348bdccde
commit
b2e6e4f076
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ export function showDonationLink(): boolean {
|
|||
}
|
||||
|
||||
export function isSafari(): boolean {
|
||||
return navigator.vendor === "Apple Computer, Inc.";
|
||||
return typeof(navigator) !== "undefined" && navigator.vendor === "Apple Computer, Inc.";
|
||||
}
|
||||
|
||||
export function keybindEquals(first: Keybind, second: Keybind): boolean {
|
||||
|
|
Loading…
Reference in a new issue