Use shiftkey for multiselect

The only key that works on every OS (hopefully)
This commit is contained in:
Tobias Reich 2016-08-22 14:19:20 +02:00
parent 4c58ae0733
commit 5c18fbeed8

View File

@ -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)
}