Skip to content

Commit

Permalink
Update checkout to recognise Internet Explorer 10
Browse files Browse the repository at this point in the history
The regexp in the checkout initialization would only recognize IE versions up
to 9 before, this updates it to recognize any version over 5.
  • Loading branch information
pajamian committed Sep 18, 2013
1 parent 061559b commit 877be7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/standard/include/checkout/initialization
Expand Up @@ -2,7 +2,7 @@
## Browser check, standalone so syntax error will not
## kill init code
my $regex = $Variable->{MV_DHTML_BROWSER};
$regex ||= 'MSIE [5-9].*Windows|Mozilla.*Gecko|Opera.*[7-9]';
$regex ||= 'MSIE (?:[5-9]|\d\d).*Windows|Mozilla.*Gecko|Opera.*[7-9]';

$regex = qr/$regex/;
if($Session->{browser} =~ $regex) {
Expand Down

0 comments on commit 877be7d

Please sign in to comment.