From ef4068c55c6fc2cf0ce4db51b8ab79cc0a0d8bd6 Mon Sep 17 00:00:00 2001 From: "mosse.benjamin" Date: Mon, 22 Nov 2010 05:04:09 +0000 Subject: [PATCH] fixing win7 detection git-svn-id: https://beef.googlecode.com/svn/trunk@562 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/beefjs/os.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/beefjs/os.js b/modules/beefjs/os.js index da70f0737..06be23c3d 100644 --- a/modules/beefjs/os.js +++ b/modules/beefjs/os.js @@ -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() {