add eslint-disable-line
This commit is contained in:
parent
58efc281ef
commit
2f40e7ea73
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
|||
|
||||
const focusFirst = (element, root) => {
|
||||
try {element.focus();}
|
||||
catch(err) {}
|
||||
catch(err) {} // eslint-disable-line no-empty
|
||||
|
||||
if (document.activeElement == element && element !== root) return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue