add eslint-disable-line

This commit is contained in:
Sergio Crisostomo 2018-05-04 15:41:32 +02:00
parent 58efc281ef
commit 2f40e7ea73

View file

@ -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;