Fix mobile browser detection.
This commit is contained in:
parent
3f49d25575
commit
10b832b820
2 changed files with 1 additions and 20 deletions
|
|
@ -187,7 +187,7 @@ Renders an HTML area field.
|
|||
sub toHtml {
|
||||
my $self = shift;
|
||||
##Do not display a rich editor on any mobile browser.
|
||||
if ($self->session->style->mobileBrowser) {
|
||||
if ($self->session->request->browser->mobile) {
|
||||
return $self->SUPER::toHtml;
|
||||
}
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue