Skip to content

Commit

Permalink
Improve output on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Mar 28, 2016
1 parent 1cc1ada commit e0dc837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions templates/html/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen $doxygenversion"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
Expand Down
4 changes: 2 additions & 2 deletions templates/html/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function initResizable()
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
$(document).bind('touchmove',function(e){
var device = navigator.userAgent.toLowerCase();
var ios = device.match(/(iphone|ipod|ipad)/);
if (ios) {
var ios_or_android = device.match(/(iphone|ipod|ipad|android)/);
if (ios_or_android) {
try {
var target = e.target;
while (target) {
Expand Down

0 comments on commit e0dc837

Please sign in to comment.