Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 30, 2023
1 parent 520f251 commit 326d7b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/event-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ export const _info = {
* This function detects which browser version is running this script,
* parsing major and minor version (e.g., 42.1). User agent strings from:
* http://www.useragentstring.com/pages/useragentstring.php
*
* `navigator.vendor` is passed in and used to help with detecting certain browsers
* NB `navigator.vendor` is deprecated and not present in every browser
*/
browserVersion: function (userAgent: string, vendor: string | undefined, opera: string): number | null {
const browser = _info.browser(userAgent, vendor, opera)
Expand Down

0 comments on commit 326d7b4

Please sign in to comment.