summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index e2fd828dd..368ee5bc3 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -307,7 +307,7 @@ drag_row: function(e, id)
if (rcube_event.get_button(e) == 2)
return true;
- this.in_selection_before = e.istouch || this.in_selection(id) ? id : false;
+ this.in_selection_before = e && e.istouch || this.in_selection(id) ? id : false;
// selects currently unselected row
if (!this.in_selection_before) {