--- loncom/interface/lonhelp.pm 2013/12/18 01:23:21 1.42
+++ loncom/interface/lonhelp.pm 2014/04/23 17:57:57 1.44
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonhelp.pm,v 1.42 2013/12/18 01:23:21 raeburn Exp $
+# $Id: lonhelp.pm,v 1.44 2014/04/23 17:57:57 bisitz Exp $
#
# .tex help system web server handler
#
@@ -102,7 +102,7 @@ HEADER
-
+
$bugs
@@ -150,7 +150,7 @@ sub render {
'\\begin{html}

' .
+ '">

' .
'\\end{html}'
|gxe;
@@ -228,13 +228,21 @@ sub handler {
if ($env{'form.searchterm'}=~/\w/) {
$caller = 'search';
}
- my $starthash = {
- only_body => 1,
- add_entries => {
- 'onload' => "javascript:expand_div('$caller');",
- },
- };
+ my $starthash;
+
+ if ($env{'browser.mobile'}) {
+ $starthash = {
+ only_body => 1,
+ add_entries => {
+ 'onload' => "javascript:expand_div('$caller');",
+ },
+ };
+ } else {
+ $starthash = {
+ only_body => 1,
+ };
+ }
my $firstfile;
my $start_page=
&Apache::loncommon::start_page('LON-CAPA Help',undef,$starthash);