style: add missing trailing commas (#9387)
This commit is contained in:
parent
9314ceae36
commit
f1fd1d2585
79 changed files with 320 additions and 320 deletions
|
|
@ -4,7 +4,7 @@ export function focusPrev(el: Element | null, self = false, scroll = true) {
|
|||
if (el) {
|
||||
if (el.hasAttribute('tabindex')) {
|
||||
(el as HTMLElement).focus({
|
||||
preventScroll: !scroll
|
||||
preventScroll: !scroll,
|
||||
});
|
||||
} else {
|
||||
focusPrev(el.previousElementSibling, true);
|
||||
|
|
@ -18,7 +18,7 @@ export function focusNext(el: Element | null, self = false, scroll = true) {
|
|||
if (el) {
|
||||
if (el.hasAttribute('tabindex')) {
|
||||
(el as HTMLElement).focus({
|
||||
preventScroll: !scroll
|
||||
preventScroll: !scroll,
|
||||
});
|
||||
} else {
|
||||
focusPrev(el.nextElementSibling, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue