mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 13:07:05 +03:00
Fix tests
This commit is contained in:
@@ -6,7 +6,7 @@ export function showDonationLink(): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function isSafari(): 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 {
|
export function keybindEquals(first: Keybind, second: Keybind): boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user