Skip to content

Commit c80ce55

Browse files
committed
use global isNan for IE compatibility
1 parent f0e8e98 commit c80ce55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ lib.getFirefoxVersion = function() {
720720
var match = FIREFOX_VERSION_REGEX.exec(window.navigator.userAgent);
721721
if(match && match.length === 2) {
722722
var versionInt = parseInt(match[1]);
723-
if(!Number.isNaN(versionInt)) {
723+
if(!isNaN(versionInt)) {
724724
return versionInt;
725725
}
726726
}

0 commit comments

Comments
 (0)