summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-11-04 23:58:40 -0800
committerAleksander Machniak <alec@alec.pl>2013-11-04 23:58:40 -0800
commit5e3e4fe0c6f8e8ab1ff29ec685f127281700c953 (patch)
treedda78513ebf9b589753a03561788836389f98d6b /program/js
parent04fbc555b939ef2e427f02b9765ae66f85a5b918 (diff)
parente769a7b588dde028a41cde482995601b63ad87b2 (diff)
Merge pull request #152 from cmcnulty/control-shift
Reset shift_start on control select
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index e1d57745c..4af01e53a 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -795,8 +795,10 @@ select_row: function(id, mod_key, with_mouse)
break;
case CONTROL_KEY:
- if (with_mouse)
+ if (with_mouse) {
+ this.shift_start = id;
this.highlight_row(id, true);
+ }
break;
case CONTROL_SHIFT_KEY: