summaryrefslogtreecommitdiffstats
path: root/templates/html/resize.js
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-03-28 18:07:44 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-03-28 18:07:44 (GMT)
commite0dc837a14a466dd4fb58a0a1e6e72b5c400f563 (patch)
tree1d24a02f19665dce33f440d5c56ec0553911735f /templates/html/resize.js
parent1cc1adad2de03a0f013881b8960daf89aa155081 (diff)
downloadDoxygen-e0dc837a14a466dd4fb58a0a1e6e72b5c400f563.zip
Doxygen-e0dc837a14a466dd4fb58a0a1e6e72b5c400f563.tar.gz
Doxygen-e0dc837a14a466dd4fb58a0a1e6e72b5c400f563.tar.bz2
Improve output on mobile devices
Diffstat (limited to 'templates/html/resize.js')
-rw-r--r--templates/html/resize.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/resize.js b/templates/html/resize.js
index 2b86c36..76c1a6b 100644
--- a/templates/html/resize.js
+++ b/templates/html/resize.js
@@ -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) {