use HTTP::BrowserDetect for browser detection
This commit is contained in:
parent
5e75631f6b
commit
6fa07671cd
7 changed files with 31 additions and 58 deletions
|
|
@ -90,7 +90,7 @@ sub process {
|
|||
# Fix box size
|
||||
my $boxSize = $param[0];
|
||||
$boxSize = 12 unless ($boxSize);
|
||||
if (index(lc($session->request->user_agent),"msie") < 0) {
|
||||
if ($session->request->browser->ie) {
|
||||
$boxSize = int($boxSize=$boxSize*2/3);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue