Add select_all.
This commit is contained in:
parent
ede7eab80b
commit
fb1d5d3e6e
1 changed files with 9 additions and 0 deletions
|
@ -386,6 +386,15 @@ function toggle_embed_video(video_id)
|
|||
}
|
||||
}
|
||||
|
||||
function select_all()
|
||||
{
|
||||
video_card_first_selected = null;
|
||||
for (const video_card of document.getElementsByClassName("video_card"))
|
||||
{
|
||||
video_card.classList.add("video_card_selected");
|
||||
}
|
||||
}
|
||||
|
||||
function deselect_all()
|
||||
{
|
||||
video_card_first_selected = null;
|
||||
|
|
Loading…
Reference in a new issue