Skip to content

Commit

Permalink
fix bug deviceMemory
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinevastel committed Nov 30, 2018
1 parent bf760ec commit ccd4d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fpScanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const fpscanner = (function () {
testResult = INCONSISTENT;
} else if (fingerprint.deviceMemory === 0 &&
((BROWSER_REF === BROWSERS.CHROME && BROWSER_VERSION_REF >= 63) ||
(BROWSER_REF === BROWSERS.OPERA && BROWSER_VERSION_REF >= 50))) {
(/Opera/.test(BROWSER_REF) && BROWSER_VERSION_REF >= 50))) {
// If deviceMemory = 0 and recent Chrome or Opera
testResult = INCONSISTENT;
}
Expand Down

0 comments on commit ccd4d22

Please sign in to comment.