Commit 086d324dc3aff3017b631689b056d056c7ffb8ba
1 parent
de017db211
Exists in
develop
Fix
Lint rules
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.ts
src/app/shared/sinonimo/sinonimo.component.ts
... | ... | @@ -75,8 +75,8 @@ export class SinonimoComponent implements OnInit { |
75 | 75 | } |
76 | 76 | |
77 | 77 | scrollTo(index: number) { |
78 | - const element = document.getElementById(index.toString()); | |
79 | - element.scrollIntoView({ behavior: 'smooth', block: 'center' }); | |
78 | + const el = document.getElementById(index.toString()); | |
79 | + el.scrollIntoView({ behavior: 'smooth', block: 'center' }); | |
80 | 80 | } |
81 | 81 | |
82 | 82 | } |