Commit 1efd8087 by Matt Mascarenhas

cinera.c: Distinguish speakers from chat comments

It treats co-hosts and guests differently from chat commenters, styling and categorising annotations for them such that their contributions don't come under the "Chat comment" medium Also do some essentially cosmetic code compression of the marker cases and other things cinera_player_pre.js: Make the credits menu initially focus the host's person if they have no support, rather than the first credited person who has support
parent 14afdc04
......@@ -388,7 +388,7 @@ function toggleMenuVisibility(element) {
{
if(!lastFocusedCreditItem)
{
if(element.querySelectorAll(".credit .support")[0])
if(element.querySelectorAll(".credit .person")[0].nextElementSibling)
{
lastFocusedCreditItem = element.querySelectorAll(".credit .support")[0];
focusedElement = lastFocusedCreditItem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment