Skip to content

Commit

Permalink
fix(API > Edit Album): Windows Control and Mac Command key support
Browse files Browse the repository at this point in the history
  • Loading branch information
danactive committed Dec 19, 2021
1 parent 869a8d2 commit 251a8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/plugins/editAlbum/public/edit_admin_xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const album = {
return false;
},
Invoke: function invokePhoto(e) { // click on photo
if (e.ctrlKey) { // allow multiples
if (e.ctrlKey || e.metaKey) { // allow multiples
album.photo.recentIndex = $(this).toggleClass('selected').index();
album.form.PopulateFromPhoto($(this).data('photo'));
} else if (e.shiftKey) { // select range
Expand Down

0 comments on commit 251a8f7

Please sign in to comment.