Skip to content

Commit

Permalink
chore:Make code more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
TatuJLund committed Nov 24, 2024
1 parent b74a718 commit d2674e5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,11 @@ public void attach() {
decimalFormat.setMaximumFractionDigits(2);
decimalFormat.setMinimumFractionDigits(2);
// Improve Grid browsing experience for screen reader users
JavaScript.eval(
"setTimeout(() => { const body = document.querySelector('tbody.v-grid-body');Array.from(body.getElementsByTagName('tr')).forEach(el => el.setAttribute('aria-live', 'polite'));}, 1000);");
JavaScript.eval("setTimeout(() => {"
+ "const body = document.querySelector('tbody.v-grid-body');"
+ "Array.from(body.getElementsByTagName('tr')).forEach(el => {"
+ "el.setAttribute('aria-live', 'polite');});"
+ "}, 1000);");
}

/**
Expand Down

0 comments on commit d2674e5

Please sign in to comment.