style: add missing trailing commas (#9387)

This commit is contained in:
Kagami Sascha Rosylight 2022-12-22 16:01:59 +09:00 committed by GitHub
parent 9314ceae36
commit f1fd1d2585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 320 additions and 320 deletions

View file

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