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 439e941fa..a814c325c 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -412,7 +412,7 @@ drag_row: function(e, id)
return true;
// selects currently unselected row
- if (e && e.istouch || this.in_selection(id)) {
+ if (!(e && e.istouch || this.in_selection(id))) {
var mod_key = rcube_event.get_modifier(e);
this.select_row(id, mod_key, false);
}