Skip to content

Commit

Permalink
add doc string to isChrome method. browserpass#320
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Miller committed Dec 31, 2024
1 parent f53ad60 commit 05c2bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ async function copyToClipboard(text, clear = true) {
}

/**
* returns true if agent string is Chrome / Chromium
*
* @since 3.10.0
*/
function isChrome() {
const ua = navigator.userAgent;
Expand Down

0 comments on commit 05c2bf9

Please sign in to comment.