summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-08-15 08:57:11 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-08-15 08:57:11 +0200
commit4910b0666edeeebb18ac9682cb898dba8f22962a (patch)
tree1c3d88f7ab70db5a0e2f81d7873a8473f9d686ea /program/js/app.js
parent6746148d1b0fa965836f819671fa49b04af2d383 (diff)
Distinguish mobile/tablet/touch devices
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 78ac4c675..dedad37d2 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1731,7 +1731,7 @@ function rcube_webmail()
if (!row.depth && row.has_children && (expando = document.getElementById('rcmexpando'+row.uid))) {
row.expando = expando;
expando.onmousedown = function(e) { return self.expand_message_row(e, uid); };
- if (bw.mobile) {
+ if (bw.touch) {
expando.addEventListener('touchend', function(e) {
if (e.changedTouches.length == 1) {
self.expand_message_row(e, uid);