Merge pull request #20150 from prlanzarin/u27/fix/Arthurk12-live-crashes-1783
fix(bbb-html5): validate before getting user-list element attribute
This commit is contained in:
commit
4d9e20891d
@ -92,7 +92,7 @@ class UserParticipants extends Component {
|
||||
|
||||
selectEl(el) {
|
||||
if (!el) return null;
|
||||
if (el.getAttribute('tabindex')) return el?.focus();
|
||||
if (typeof el.getAttribute === 'function' && el.getAttribute('tabindex')) return el?.focus();
|
||||
this.selectEl(el?.firstChild);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user