From 672abf9d861eea82babc43dbea27cb25f29403a1 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 11 Mar 2020 14:30:56 -0700 Subject: [PATCH] Hold Shift to not deselect videos after setting a state. --- frontends/ycdl_flask/templates/channel.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index 96d83d1..83d9c26 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -335,7 +335,10 @@ function action_button_passthrough(event, action_function, action_argument) { action_function(video_ids, action_argument, receive_action_response); } - deselect_all(); + if (! event.shiftKey) + { + deselect_all(); + } } function give_action_buttons(video_card_div)