Commit 2f40e7ea73f17a43ac6f4b1c35f496fe96410b77
1 parent
58efc281
add eslint-disable-line
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/tabs/tabs.vue
| @@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
| 49 | 49 | ||
| 50 | const focusFirst = (element, root) => { | 50 | const focusFirst = (element, root) => { |
| 51 | try {element.focus();} | 51 | try {element.focus();} |
| 52 | - catch(err) {} | 52 | + catch(err) {} // eslint-disable-line no-empty |
| 53 | 53 | ||
| 54 | if (document.activeElement == element && element !== root) return true; | 54 | if (document.activeElement == element && element !== root) return true; |
| 55 | 55 |