fixing win7 detection

git-svn-id: https://beef.googlecode.com/svn/trunk@562 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
mosse.benjamin
2010-11-22 05:04:09 +00:00
parent cb4418f2e0
commit ef4068c55c

View File

@@ -7,7 +7,7 @@ beef.os = {
},
isWinNT4: function() {
return (this.ua.match('(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)') && !this.isWinXP()) ? true : false;
return (this.ua.match('(Windows NT 4.0)')) ? true : false;
},
isWin95: function() {