mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
not supported scenario
This commit is contained in:
@@ -22,7 +22,7 @@ var u2f = u2f || {};
|
||||
* Modification:
|
||||
* Check if browser supports U2F API before this wrapper was added.
|
||||
*/
|
||||
u2f.isSupported = ((typeof u2f !== 'undefined') && u2f.register) || (chrome && chrome.runtime);
|
||||
u2f.isSupported = !!(((typeof u2f !== 'undefined') && u2f.register) || (chrome && chrome.runtime));
|
||||
|
||||
/**
|
||||
* FIDO U2F Javascript API Version
|
||||
|
||||
Reference in New Issue
Block a user