From 5c18fbeed853d138e08769c84a2cd5a87292c099 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 22 Aug 2016 14:19:20 +0200 Subject: [PATCH] Use shiftkey for multiselect The only key that works on every OS (hopefully) --- src/scripts/multiselect.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/multiselect.js b/src/scripts/multiselect.js index 0562156..c61fb03 100644 --- a/src/scripts/multiselect.js +++ b/src/scripts/multiselect.js @@ -45,7 +45,7 @@ multiselect.albumClick = function(e, albumObj) { let id = albumObj.attr('data-id') - if (e.ctrlKey) multiselect.toggleItem(albumObj, id) + if (e.shiftKey) multiselect.toggleItem(albumObj, id) else lychee.goto(id) } @@ -54,7 +54,7 @@ multiselect.photoClick = function(e, photoObj) { let id = photoObj.attr('data-id') - if (e.ctrlKey) multiselect.toggleItem(photoObj, id) + if (e.shiftKey) multiselect.toggleItem(photoObj, id) else lychee.goto(album.getID() + '/' + id) }