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:59:14 +0200 |
commit | d1c40bbd877dbc99b695ed8f97d0cc2d8dd6adfc (patch) | |
tree | 736479419905cea8222cb91a8f1d540214f78452 /program/js/app.js | |
parent | 680d0ec07232a9c7cad4be7724eac1ac3082f397 (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 e31e07632..c99dc7edb 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1733,7 +1733,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); |