diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-08-15 08:57:11 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-08-15 08:57:11 +0200 |
commit | 4910b0666edeeebb18ac9682cb898dba8f22962a (patch) | |
tree | 1c3d88f7ab70db5a0e2f81d7873a8473f9d686ea /program/js/app.js | |
parent | 6746148d1b0fa965836f819671fa49b04af2d383 (diff) |
Distinguish mobile/tablet/touch devices
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 2 |
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); |