Permalink
Browse files

Update checkout to recognise Internet Explorer 10

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...
1 parent 061559b commit 877be7dc9c7fc92ea82512c7479c38de1349437e @pajamian pajamian committed Sep 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 dist/standard/include/checkout/initialization
@@ -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) {

0 comments on commit 877be7d

Please sign in to comment.